home *** CD-ROM | disk | FTP | other *** search
/ Australian Personal Computer 2002 July / APC0702D1.iso / workshop / flash / files / splendos.fla / Symbol 1 < prev    next >
Unknown  |  2002-04-18  |  12.3 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 01 ff ff 01 00 08 00 43 | 50 69 63 50 61 67 65 01 |.......C|PicPage.|
|00000010| 00 ff ff 01 00 09 00 43 | 50 69 63 4c 61 79 65 72 |.......C|PicLayer|
|00000020| 01 00 ff ff 01 00 09 00 | 43 50 69 63 46 72 61 6d |........|CPicFram|
|00000030| 65 01 00 ff ff 01 00 0a | 00 43 50 69 63 53 70 72 |e.......|.CPicSpr|
|00000040| 69 74 65 01 00 00 00 28 | 00 00 00 2c 00 00 00 0a |ite....(|...,....|
|00000050| 00 30 00 00 00 00 00 00 | 00 00 00 00 4a 2f 00 00 |.0......|....J/..|
|00000060| 28 00 00 00 2c 00 00 00 | 00 00 02 00 01 00 01 00 |(...,...|........|
|00000070| 00 00 01 00 00 00 01 00 | 00 00 01 00 00 00 00 64 |........|.......d|
|00000080| 00 00 00 00 ff 00 02 00 | 00 00 06 01 00 00 00 01 |........|........|
|00000090| 00 00 00 cb 5c 00 00 00 | 00 00 00 00 0b 64 41 72 |....\...|.....dAr|
|000000a0| 72 6f 77 41 73 73 65 74 | 02 00 00 00 00 00 00 00 |rowAsset|........|
|000000b0| 00 00 00 00 00 01 00 00 | 00 07 80 01 00 00 00 28 |........|.......(|
|000000c0| 00 00 00 30 00 00 00 0a | 00 20 00 00 00 00 00 00 |...0....|. ......|
|000000d0| 00 00 00 00 93 0d 00 00 | 28 00 00 00 30 00 00 00 |........|(...0...|
|000000e0| 00 00 02 00 01 00 01 00 | 00 00 01 00 00 00 01 00 |........|........|
|000000f0| 00 00 01 00 00 00 00 64 | 00 00 00 00 ff 00 18 00 |.......d|........|
|00000100| 00 00 06 01 00 00 00 01 | 00 00 00 70 55 00 00 00 |........|...pU...|
|00000110| 00 00 00 00 0a 74 68 75 | 6d 62 41 73 73 65 74 02 |.....thu|mbAsset.|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 01 00 00 00 |........|........|
|00000130| 07 80 01 00 00 00 28 00 | 00 00 2e 00 00 00 0a 00 |......(.|........|
|00000140| 20 00 00 00 00 00 00 00 | 00 00 00 c9 1f 00 00 28 | .......|.......(|
|00000150| 00 00 00 2e 00 00 00 00 | 00 02 00 01 00 01 00 00 |........|........|
|00000160| 00 01 00 00 00 01 00 00 | 00 01 00 00 04 00 64 00 |........|......d.|
|00000170| 00 00 00 ff 00 28 00 00 | 00 06 01 00 00 00 01 00 |.....(..|........|
|00000180| 00 00 b6 46 00 00 00 00 | 00 00 00 0c 75 70 41 72 |...F....|....upAr|
|00000190| 72 6f 77 41 73 73 65 74 | 02 00 00 00 00 00 00 00 |rowAsset|........|
|000001a0| 00 00 00 00 00 01 00 00 | 00 00 00 00 00 00 80 00 |........|........|
|000001b0| 00 00 80 02 00 00 01 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 01 00 00 00 00 00 | 00 00 00 00 05 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 16 01 00 00 06 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 ff ff ff 3f |........|.......?|
|000001f0| ff ff 00 01 00 00 00 01 | 00 00 00 8b 65 00 00 00 |........|....e...|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 01 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 80 00 00 00 80 0a |........|........|
|00000230| 06 41 73 73 65 74 73 00 | 01 01 ff ff ff ff ff 4f |.Assets.|.......O|
|00000240| 4f ff 00 00 00 00 01 00 | 00 00 01 00 00 01 00 03 |O.......|........|
|00000250| 80 01 00 05 80 01 00 07 | 80 01 00 00 00 28 00 00 |........|.....(..|
|00000260| 00 28 00 00 00 0a 22 05 | 00 00 00 00 00 00 00 00 |.(....".|........|
|00000270| 00 00 b7 02 00 00 28 00 | 00 00 28 00 00 00 00 00 |......(.|..(.....|
|00000280| 02 00 01 00 01 00 00 00 | 01 00 00 00 01 00 00 00 |........|........|
|00000290| 01 00 00 00 00 64 00 00 | 00 00 ff 00 3e 00 00 00 |.....d..|....>...|
|000002a0| 06 01 00 00 00 01 00 00 | 00 74 24 00 00 00 00 00 |........|.t$.....|
|000002b0| 00 00 0f 73 75 70 65 72 | 43 6c 61 73 73 41 73 73 |...super|ClassAss|
|000002c0| 65 74 02 01 00 00 00 01 | 00 01 01 00 01 00 00 00 |et......|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 3b 8e 54 ab |........|....;.T.|
|000002e0| 6d 83 41 a4 30 24 45 ba | 14 ab ea 00 00 00 00 00 |m.A.0$E.|........|
|000002f0| 00 00 00 01 00 00 00 00 | 00 00 00 00 80 00 00 00 |........|........|
|00000300| 80 02 00 00 01 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 01 00 00 00 00 00 00 00 | 00 00 05 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 16 01 00 00 06 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 ff ff ff 3f ff ff |........|.....?..|
|00000340| 00 01 00 00 00 01 00 00 | 00 87 4d 00 00 00 00 00 |........|..M.....|
|00000350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000360| 00 00 00 00 00 00 00 01 | 00 00 00 00 00 00 00 00 |........|........|
|00000370| 00 00 00 00 00 00 00 00 | 80 00 00 00 80 0a 0a 53 |........|.......S|
|00000380| 75 70 65 72 43 6c 61 73 | 73 00 01 01 ff ff ff ff |uperClas|s.......|
|00000390| 99 33 cc ff 00 00 00 00 | 01 00 00 00 01 00 00 01 |.3......|........|
|000003a0| 00 03 80 01 00 05 80 01 | 00 07 80 01 00 00 00 00 |........|........|
|000003b0| 00 00 00 00 00 00 00 0a | 00 00 01 00 00 00 00 00 |........|........|
|000003c0| 00 00 00 00 00 00 01 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003d0| 00 00 02 00 01 00 01 00 | 00 00 01 00 00 00 01 00 |........|........|
|000003e0| 00 00 01 00 00 00 00 64 | 00 00 00 00 ff 00 40 00 |.......d|......@.|
|000003f0| 00 00 06 01 00 00 00 01 | 00 00 00 46 04 00 00 00 |........|...F....|
|00000400| 00 00 00 00 0e 73 63 72 | 6f 6c 6c 54 72 61 63 6b |.....scr|ollTrack|
|00000410| 5f 6d 63 02 00 00 00 00 | 00 00 00 00 00 00 00 00 |_mc.....|........|
|00000420| 01 00 00 00 00 00 00 00 | 00 80 00 00 00 80 02 00 |........|........|
|00000430| 00 01 00 00 00 00 00 00 | 00 00 00 00 00 01 00 00 |........|........|
|00000440| 00 00 00 00 00 00 00 05 | 00 00 00 00 00 00 00 00 |........|........|
|00000450| 00 00 00 00 00 16 01 00 | 00 06 00 00 00 00 00 00 |........|........|
|00000460| 00 00 00 00 00 00 00 ff | ff ff 3f ff ff 00 01 00 |........|..?.....|
|00000470| 00 00 01 00 00 00 f0 51 | 00 00 00 00 00 00 00 00 |.......Q|........|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 01 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 80 00 00 | 00 80 0a 0c 42 6f 75 6e |........|....Boun|
|000004b0| 64 69 6e 67 20 42 6f 78 | 00 00 01 ff ff ff ff 4f |ding Box|.......O|
|000004c0| 80 ff ff 00 00 00 00 01 | 00 00 00 00 00 00 01 00 |........|........|
|000004d0| 03 80 01 00 05 80 01 00 | 00 00 00 00 00 80 00 00 |........|........|
|000004e0| 00 80 02 00 00 01 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 01 00 00 00 00 00 00 | 00 00 00 05 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 16 01 00 00 06 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 ff ff ff 3f ff |........|......?.|
|00000520| ff 00 01 00 00 00 01 00 | 00 00 8f 69 00 00 00 00 |........|...i....|
|00000530| 00 00 ff 6e 2b 23 69 6e | 69 74 63 6c 69 70 20 31 |...n+#in|itclip 1|
|00000540| 0a 0a 2f 2a 0a 09 09 46 | 53 63 72 6f 6c 6c 42 61 |../*...F|ScrollBa|
|00000550| 72 43 6c 61 73 73 0a 09 | 09 45 58 54 45 4e 44 53 |rClass..|.EXTENDS|
|00000560| 20 46 55 49 43 6f 6d 70 | 6f 6e 65 6e 74 43 6c 61 | FUIComp|onentCla|
|00000570| 73 73 0a 09 0a 2a 2f 0a | 0a 0a 46 53 63 72 6f 6c |ss...*/.|..FScrol|
|00000580| 6c 42 61 72 43 6c 61 73 | 73 20 3d 20 66 75 6e 63 |lBarClas|s = func|
|00000590| 74 69 6f 6e 28 29 0a 7b | 0a 09 69 66 20 28 74 68 |tion().{|..if (th|
|000005a0| 69 73 2e 5f 68 65 69 67 | 68 74 3d 3d 34 29 20 7b |is._heig|ht==4) {|
|000005b0| 0a 09 09 72 65 74 75 72 | 6e 09 3b 0a 09 7d 0a 09 |...retur|n.;..}..|
|000005c0| 74 68 69 73 2e 69 6e 69 | 74 28 29 3b 0a 0a 09 74 |this.ini|t();...t|
|000005d0| 68 69 73 2e 6d 69 6e 50 | 6f 73 20 3d 20 74 68 69 |his.minP|os = thi|
|000005e0| 73 2e 6d 61 78 50 6f 73 | 20 3d 20 74 68 69 73 2e |s.maxPos| = this.|
|000005f0| 70 61 67 65 53 69 7a 65 | 20 3d 20 74 68 69 73 2e |pageSize| = this.|
|00000600| 6c 61 72 67 65 53 63 72 | 6f 6c 6c 20 3d 20 30 3b |largeScr|oll = 0;|
|00000610| 0a 09 74 68 69 73 2e 73 | 6d 61 6c 6c 53 63 72 6f |..this.s|mallScro|
|00000620| 6c 6c 20 3d 20 31 3b 0a | 0a 0a 09 74 68 69 73 2e |ll = 1;.|...this.|
|00000630| 77 69 64 74 68 20 3d 20 | 28 74 68 69 73 2e 68 6f |width = |(this.ho|
|00000640| 72 69 7a 6f 6e 74 61 6c | 29 20 3f 20 74 68 69 73 |rizontal|) ? this|
|00000650| 2e 5f 77 69 64 74 68 20 | 3a 20 74 68 69 73 2e 5f |._width |: this._|
|00000660| 68 65 69 67 68 74 3b 0a | 09 74 68 69 73 2e 5f 78 |height;.|.this._x|
|00000670| 73 63 61 6c 65 20 3d 20 | 74 68 69 73 2e 5f 79 73 |scale = |this._ys|
|00000680| 63 61 6c 65 20 3d 20 31 | 30 30 3b 0a 09 74 68 69 |cale = 1|00;..thi|
|00000690| 73 2e 73 65 74 53 63 72 | 6f 6c 6c 50 6f 73 69 74 |s.setScr|ollPosit|
|000006a0| 69 6f 6e 28 30 29 3b 0a | 09 74 68 69 73 2e 74 61 |ion(0);.|.this.ta|
|000006b0| 62 45 6e 61 62 6c 65 64 | 20 3d 20 66 61 6c 73 65 |bEnabled| = false|
|000006c0| 3b 0a 09 69 66 20 28 20 | 74 68 69 73 2e 5f 74 61 |;..if ( |this._ta|
|000006d0| 72 67 65 74 49 6e 73 74 | 61 6e 63 65 4e 61 6d 65 |rgetInst|anceName|
|000006e0| 2e 6c 65 6e 67 74 68 20 | 3e 20 30 20 29 20 7b 0a |.length |> 0 ) {.|
|000006f0| 09 09 74 68 69 73 2e 73 | 65 74 53 63 72 6f 6c 6c |..this.s|etScroll|
|00000700| 54 61 72 67 65 74 28 74 | 68 69 73 2e 5f 70 61 72 |Target(t|his._par|
|00000710| 65 6e 74 5b 74 68 69 73 | 2e 5f 74 61 72 67 65 74 |ent[this|._target|
|00000720| 49 6e 73 74 61 6e 63 65 | 4e 61 6d 65 5d 29 3b 0a |Instance|Name]);.|
|00000730| 09 7d 0a 09 74 68 69 73 | 2e 74 61 62 43 68 69 6c |.}..this|.tabChil|
|00000740| 64 72 65 6e 20 3d 20 66 | 61 6c 73 65 3b 0a 09 74 |dren = f|alse;..t|
|00000750| 68 69 73 2e 73 65 74 53 | 69 7a 65 28 74 68 69 73 |his.setS|ize(this|
|00000760| 2e 77 69 64 74 68 29 3b | 0a 7d 0a 0a 46 53 63 72 |.width);|.}..FScr|
|00000770| 6f 6c 6c 42 61 72 43 6c | 61 73 73 2e 70 72 6f 74 |ollBarCl|ass.prot|
|00000780| 6f 74 79 70 65 20 3d 20 | 6e 65 77 20 46 55 49 43 |otype = |new FUIC|
|00000790| 6f 6d 70 6f 6e 65 6e 74 | 43 6c 61 73 73 28 29 3b |omponent|Class();|
|000007a0| 0a 0a 0a 0a 2f 2f 20 20 | 3a 3a 3a 20 50 55 42 4c |....// |::: PUBL|
|000007b0| 49 43 20 4d 45 54 48 4f | 44 53 0a 0a 46 53 63 72 |IC METHO|DS..FScr|
|000007c0| 6f 6c 6c 42 61 72 43 6c | 61 73 73 2e 70 72 6f 74 |ollBarCl|ass.prot|
|000007d0| 6f 74 79 70 65 2e 73 65 | 74 48 6f 72 69 7a 6f 6e |otype.se|tHorizon|
|000007e0| 74 61 6c 20 3d 20 66 75 | 6e 63 74 69 6f 6e 28 66 |tal = fu|nction(f|
|000007f0| 6c 61 67 29 0a 7b 0a 09 | 69 66 20 28 74 68 69 73 |lag).{..|if (this|
|00000800| 2e 68 6f 72 69 7a 6f 6e | 74 61 6c 20 26 26 20 21 |.horizon|tal && !|
|00000810| 66 6c 61 67 29 20 7b 0a | 09 09 74 68 69 73 2e 5f |flag) {.|..this._|
|00000820| 78 73 63 61 6c 65 20 3d | 20 31 30 30 3b 0a 09 09 |xscale =| 100;...|
|00000830| 74 68 69 73 2e 5f 72 6f | 74 61 74 69 6f 6e 20 3d |this._ro|tation =|
|00000840| 20 30 3b 0a 09 7d 20 65 | 6c 73 65 20 69 66 20 28 | 0;..} e|lse if (|
|00000850| 66 6c 61 67 20 26 26 20 | 21 74 68 69 73 2e 68 6f |flag && |!this.ho|
|00000860| 72 69 7a 6f 6e 74 61 6c | 29 20 7b 0a 09 09 74 68 |rizontal|) {...th|
|00000870| 69 73 2e 5f 78 73 63 61 | 6c 65 20 3d 20 2d 31 30 |is._xsca|le = -10|
|00000880| 30 3b 0a 09 09 74 68 69 | 73 2e 5f 72 6f 74 61 74 |0;...thi|s._rotat|
|00000890| 69 6f 6e 20 3d 20 2d 39 | 30 3b 0a 09 7d 0a 0a 09 |ion = -9|0;..}...|
|000008a0| 74 68 69 73 2e 68 6f 72 | 69 7a 6f 6e 74 61 6c 20 |this.hor|izontal |
|000008b0| 3d 20 66 6c 61 67 3b 0a | 7d 0a 0a 2f 2f 20 75 70 |= flag;.|}..// up|
|000008c0| 64 61 74 65 73 20 74 68 | 65 20 74 68 75 6d 62 2c |dates th|e thumb,|
|000008d0| 20 74 75 72 6e 73 20 74 | 68 65 20 62 61 72 20 6f | turns t|he bar o|
|000008e0| 6e 20 61 6e 64 20 6f 66 | 66 0a 46 53 63 72 6f 6c |n and of|f.FScrol|
|000008f0| 6c 42 61 72 43 6c 61 73 | 73 2e 70 72 6f 74 6f 74 |lBarClas|s.protot|
|00000900| 79 70 65 2e 73 65 74 53 | 63 72 6f 6c 6c 50 72 6f |ype.setS|crollPro|
|00000910| 70 65 72 74 69 65 73 20 | 3d 20 66 75 6e 63 74 69 |perties |= functi|
|00000920| 6f 6e 28 70 53 69 7a 65 | 2c 20 6d 6e 50 6f 73 2c |on(pSize|, mnPos,|
|00000930| 20 6d 78 50 6f 73 29 0a | 7b 0a 09 69 66 20 28 21 | mxPos).|{..if (!|
|00000940| 74 68 69 73 2e 65 6e 61 | 62 6c 65 29 20 7b 0a 09 |this.ena|ble) {..|
|00000950| 09 72 65 74 75 72 6e 20 | 3b 0a 09 7d 0a 09 74 68 |.return |;..}..th|
|00000960| 69 73 2e 70 61 67 65 53 | 69 7a 65 20 3d 20 70 53 |is.pageS|ize = pS|
|00000970| 69 7a 65 3b 0a 09 74 68 | 69 73 2e 6d 69 6e 50 6f |ize;..th|is.minPo|
|00000980| 73 20 3d 20 4d 61 74 68 | 2e 6d 61 78 28 6d 6e 50 |s = Math|.max(mnP|
|00000990| 6f 73 2c 20 30 29 3b 0a | 09 74 68 69 73 2e 6d 61 |os, 0);.|.this.ma|
|000009a0| 78 50 6f 73 20 3d 20 4d | 61 74 68 2e 6d 61 78 28 |xPos = M|ath.max(|
|000009b0| 6d 78 50 6f 73 2c 30 29 | 3b 0a 09 74 68 69 73 2e |mxPos,0)|;..this.|
|000009c0| 73 63 72 6f 6c 6c 50 6f | 73 69 74 69 6f 6e 20 3d |scrollPo|sition =|
|000009d0| 20 4d 61 74 68 2e 6d 61 | 78 28 74 68 69 73 2e 6d | Math.ma|x(this.m|
|000009e0| 69 6e 50 6f 73 2c 20 74 | 68 69 73 2e 73 63 72 6f |inPos, t|his.scro|
|000009f0| 6c 6c 50 6f 73 69 74 69 | 6f 6e 29 3b 0a 09 74 68 |llPositi|on);..th|
|00000a00| 69 73 2e 73 63 72 6f 6c | 6c 50 6f 73 69 74 69 6f |is.scrol|lPositio|
|00000a10| 6e 20 3d 20 4d 61 74 68 | 2e 6d 69 6e 28 74 68 69 |n = Math|.min(thi|
|00000a20| 73 2e 6d 61 78 50 6f 73 | 2c 20 74 68 69 73 2e 73 |s.maxPos|, this.s|
|00000a30| 63 72 6f 6c 6c 50 6f 73 | 69 74 69 6f 6e 29 3b 0a |crollPos|ition);.|
|00000a40| 09 0a 09 69 66 20 28 74 | 68 69 73 2e 6d 61 78 50 |...if (t|his.maxP|
|00000a50| 6f 73 2d 74 68 69 73 2e | 6d 69 6e 50 6f 73 3c 3d |os-this.|minPos<=|
|00000a60| 30 29 20 7b 20 2f 2f 20 | 74 75 72 6e 20 69 74 20 |0) { // |turn it |
|00000a70| 6f 66 66 0a 09 09 74 68 | 69 73 2e 73 63 72 6f 6c |off...th|is.scrol|
|00000a80| 6c 54 68 75 6d 62 5f 6d | 63 2e 72 65 6d 6f 76 65 |lThumb_m|c.remove|
|00000a90| 4d 6f 76 69 65 43 6c 69 | 70 28 29 3b 0a 09 09 74 |MovieCli|p();...t|
|00000aa0| 68 69 73 2e 75 70 41 72 | 72 6f 77 5f 6d 63 2e 67 |his.upAr|row_mc.g|
|00000ab0| 6f 74 6f 41 6e 64 53 74 | 6f 70 28 33 29 3b 0a 09 |otoAndSt|op(3);..|
|00000ac0| 09 74 68 69 73 2e 64 6f | 77 6e 41 72 72 6f 77 5f |.this.do|wnArrow_|
|00000ad0| 6d 63 2e 67 6f 74 6f 41 | 6e 64 53 74 6f 70 28 33 |mc.gotoA|ndStop(3|
|00000ae0| 29 3b 0a 09 09 74 68 69 | 73 2e 64 6f 77 6e 41 72 |);...thi|s.downAr|
|00000af0| 72 6f 77 5f 6d 63 2e 6f | 6e 50 72 65 73 73 20 3d |row_mc.o|nPress =|
|00000b00| 20 74 68 69 73 2e 64 6f | 77 6e 41 72 72 6f 77 5f | this.do|wnArrow_|
|00000b10| 6d 63 2e 6f 6e 52 65 6c | 65 61 73 65 20 3d 20 74 |mc.onRel|ease = t|
|00000b20| 68 69 73 2e 64 6f 77 6e | 41 72 72 6f 77 5f 6d 63 |his.down|Arrow_mc|
|00000b30| 2e 6f 6e 44 72 61 67 4f | 75 74 20 3d 20 6e 75 6c |.onDragO|ut = nul|
|00000b40| 6c 3b 0a 09 09 74 68 69 | 73 2e 75 70 41 72 72 6f |l;...thi|s.upArro|
|00000b50| 77 5f 6d 63 2e 6f 6e 50 | 72 65 73 73 20 3d 20 74 |w_mc.onP|ress = t|
|00000b60| 68 69 73 2e 75 70 41 72 | 72 6f 77 5f 6d 63 2e 6f |his.upAr|row_mc.o|
|00000b70| 6e 52 65 6c 65 61 73 65 | 20 3d 20 74 68 69 73 2e |nRelease| = this.|
|00000b80| 75 70 41 72 72 6f 77 5f | 6d 63 2e 6f 6e 44 72 61 |upArrow_|mc.onDra|
|00000b90| 67 4f 75 74 20 3d 20 6e | 75 6c 6c 3b 0a 09 09 74 |gOut = n|ull;...t|
|00000ba0| 68 69 73 2e 73 63 72 6f | 6c 6c 54 72 61 63 6b 5f |his.scro|llTrack_|
|00000bb0| 6d 63 2e 6f 6e 50 72 65 | 73 73 20 3d 20 74 68 69 |mc.onPre|ss = thi|
|00000bc0| 73 2e 73 63 72 6f 6c 6c | 54 72 61 63 6b 5f 6d 63 |s.scroll|Track_mc|
|00000bd0| 2e 6f 6e 52 65 6c 65 61 | 73 65 20 3d 20 6e 75 6c |.onRelea|se = nul|
|00000be0| 6c 3b 0a 09 09 74 68 69 | 73 2e 73 63 72 6f 6c 6c |l;...thi|s.scroll|
|00000bf0| 54 72 61 63 6b 5f 6d 63 | 2e 6f 6e 44 72 61 67 4f |Track_mc|.onDragO|
|00000c00| 75 74 20 3d 20 74 68 69 | 73 2e 73 63 72 6f 6c 6c |ut = thi|s.scroll|
|00000c10| 54 72 61 63 6b 5f 6d 63 | 2e 6f 6e 52 6f 6c 6c 4f |Track_mc|.onRollO|
|00000c20| 75 74 20 3d 20 6e 75 6c | 6c 3b 0a 09 09 74 68 69 |ut = nul|l;...thi|
|00000c30| 73 2e 73 63 72 6f 6c 6c | 54 72 61 63 6b 5f 6d 63 |s.scroll|Track_mc|
|00000c40| 2e 75 73 65 48 61 6e 64 | 43 75 72 73 6f 72 20 3d |.useHand|Cursor =|
|00000c50| 20 66 61 6c 73 65 3b 0a | 09 7d 20 65 6c 73 65 20 | false;.|.} else |
|00000c60| 7b 20 2f 2f 20 74 75 72 | 6e 20 69 74 20 6f 6e 0a |{ // tur|n it on.|
|00000c70| 09 09 76 61 72 20 74 6d | 70 20 3d 20 74 68 69 73 |..var tm|p = this|
|00000c80| 2e 67 65 74 53 63 72 6f | 6c 6c 50 6f 73 69 74 69 |.getScro|llPositi|
|00000c90| 6f 6e 28 29 3b 0a 09 09 | 74 68 69 73 2e 75 70 41 |on();...|this.upA|
|00000ca0| 72 72 6f 77 5f 6d 63 2e | 67 6f 74 6f 41 6e 64 53 |rrow_mc.|gotoAndS|
|00000cb0| 74 6f 70 28 31 29 3b 0a | 09 09 74 68 69 73 2e 64 |top(1);.|..this.d|
|00000cc0| 6f 77 6e 41 72 72 6f 77 | 5f 6d 63 2e 67 6f 74 6f |ownArrow|_mc.goto|
|00000cd0| 41 6e 64 53 74 6f 70 28 | 31 29 3b 0a 09 09 74 68 |AndStop(|1);...th|
|00000ce0| 69 73 2e 75 70 41 72 72 | 6f 77 5f 6d 63 2e 6f 6e |is.upArr|ow_mc.on|
|00000cf0| 50 72 65 73 73 20 3d 20 | 74 68 69 73 2e 75 70 41 |Press = |this.upA|
|00000d00| 72 72 6f 77 5f 6d 63 2e | 6f 6e 44 72 61 67 4f 76 |rrow_mc.|onDragOv|
|00000d10| 65 72 20 3d 20 74 68 69 | 73 2e 73 74 61 72 74 55 |er = thi|s.startU|
|00000d20| 70 53 63 72 6f 6c 6c 65 | 72 3b 0a 09 09 74 68 69 |pScrolle|r;...thi|
|00000d30| 73 2e 75 70 41 72 72 6f | 77 5f 6d 63 2e 6f 6e 52 |s.upArro|w_mc.onR|
|00000d40| 65 6c 65 61 73 65 20 3d | 20 74 68 69 73 2e 75 70 |elease =| this.up|
|00000d50| 41 72 72 6f 77 5f 6d 63 | 2e 6f 6e 44 72 61 67 4f |Arrow_mc|.onDragO|
|00000d60| 75 74 20 3d 20 74 68 69 | 73 2e 73 74 6f 70 53 63 |ut = thi|s.stopSc|
|00000d70| 72 6f 6c 6c 69 6e 67 3b | 0a 09 09 74 68 69 73 2e |rolling;|...this.|
|00000d80| 64 6f 77 6e 41 72 72 6f | 77 5f 6d 63 2e 6f 6e 50 |downArro|w_mc.onP|
|00000d90| 72 65 73 73 20 3d 20 74 | 68 69 73 2e 64 6f 77 6e |ress = t|his.down|
|00000da0| 41 72 72 6f 77 5f 6d 63 | 2e 6f 6e 44 72 61 67 4f |Arrow_mc|.onDragO|
|00000db0| 76 65 72 20 3d 20 74 68 | 69 73 2e 73 74 61 72 74 |ver = th|is.start|
|00000dc0| 44 6f 77 6e 53 63 72 6f | 6c 6c 65 72 3b 0a 09 09 |DownScro|ller;...|
|00000dd0| 74 68 69 73 2e 64 6f 77 | 6e 41 72 72 6f 77 5f 6d |this.dow|nArrow_m|
|00000de0| 63 2e 6f 6e 52 65 6c 65 | 61 73 65 20 3d 20 74 68 |c.onRele|ase = th|
|00000df0| 69 73 2e 64 6f 77 6e 41 | 72 72 6f 77 5f 6d 63 2e |is.downA|rrow_mc.|
|00000e00| 6f 6e 44 72 61 67 4f 75 | 74 20 3d 20 74 68 69 73 |onDragOu|t = this|
|00000e10| 2e 73 74 6f 70 53 63 72 | 6f 6c 6c 69 6e 67 3b 0a |.stopScr|olling;.|
|00000e20| 09 09 74 68 69 73 2e 73 | 63 72 6f 6c 6c 54 72 61 |..this.s|crollTra|
|00000e30| 63 6b 5f 6d 63 2e 6f 6e | 50 72 65 73 73 20 3d 20 |ck_mc.on|Press = |
|00000e40| 74 68 69 73 2e 73 63 72 | 6f 6c 6c 54 72 61 63 6b |this.scr|ollTrack|
|00000e50| 5f 6d 63 2e 6f 6e 44 72 | 61 67 4f 76 65 72 20 3d |_mc.onDr|agOver =|
|00000e60| 20 74 68 69 73 2e 73 74 | 61 72 74 54 72 61 63 6b | this.st|artTrack|
|00000e70| 53 63 72 6f 6c 6c 65 72 | 3b 20 0a 09 09 74 68 69 |Scroller|; ...thi|
|00000e80| 73 2e 73 63 72 6f 6c 6c | 54 72 61 63 6b 5f 6d 63 |s.scroll|Track_mc|
|00000e90| 2e 6f 6e 52 65 6c 65 61 | 73 65 20 3d 20 74 68 69 |.onRelea|se = thi|
|00000ea0| 73 2e 73 74 6f 70 53 63 | 72 6f 6c 6c 69 6e 67 3b |s.stopSc|rolling;|
|00000eb0| 0a 09 09 74 68 69 73 2e | 73 63 72 6f 6c 6c 54 72 |...this.|scrollTr|
|00000ec0| 61 63 6b 5f 6d 63 2e 6f | 6e 44 72 61 67 4f 75 74 |ack_mc.o|nDragOut|
|00000ed0| 20 3d 20 74 68 69 73 2e | 73 74 6f 70 53 63 72 6f | = this.|stopScro|
|00000ee0| 6c 6c 69 6e 67 3b 0a 09 | 09 74 68 69 73 2e 73 63 |lling;..|.this.sc|
|00000ef0| 72 6f 6c 6c 54 72 61 63 | 6b 5f 6d 63 2e 6f 6e 52 |rollTrac|k_mc.onR|
|00000f00| 6f 6c 6c 4f 75 74 20 3d | 20 74 68 69 73 2e 73 74 |ollOut =| this.st|
|00000f10| 6f 70 53 63 72 6f 6c 6c | 69 6e 67 3b 0a 09 09 74 |opScroll|ing;...t|
|00000f20| 68 69 73 2e 73 63 72 6f | 6c 6c 54 72 61 63 6b 5f |his.scro|llTrack_|
|00000f30| 6d 63 2e 75 73 65 48 61 | 6e 64 43 75 72 73 6f 72 |mc.useHa|ndCursor|
|00000f40| 20 3d 20 66 61 6c 73 65 | 3b 0a 09 09 74 68 69 73 | = false|;...this|
|00000f50| 2e 61 74 74 61 63 68 4d | 6f 76 69 65 28 22 53 63 |.attachM|ovie("Sc|
|00000f60| 72 6f 6c 6c 54 68 75 6d | 62 22 2c 20 22 73 63 72 |rollThum|b", "scr|
|00000f70| 6f 6c 6c 54 68 75 6d 62 | 5f 6d 63 22 2c 20 33 29 |ollThumb|_mc", 3)|
|00000f80| 3b 0a 09 09 74 68 69 73 | 2e 73 63 72 6f 6c 6c 54 |;...this|.scrollT|
|00000f90| 68 75 6d 62 5f 6d 63 2e | 5f 78 20 3d 20 30 3b 0a |humb_mc.|_x = 0;.|
|00000fa0| 09 09 74 68 69 73 2e 73 | 63 72 6f 6c 6c 54 68 75 |..this.s|crollThu|
|00000fb0| 6d 62 5f 6d 63 2e 5f 79 | 20 3d 20 74 68 69 73 2e |mb_mc._y| = this.|
|00000fc0| 75 70 41 72 72 6f 77 5f | 6d 63 2e 5f 68 65 69 67 |upArrow_|mc._heig|
|00000fd0| 68 74 3b 0a 09 09 74 68 | 69 73 2e 73 63 72 6f 6c |ht;...th|is.scrol|
|00000fe0| 6c 54 68 75 6d 62 5f 6d | 63 2e 6f 6e 50 72 65 73 |lThumb_m|c.onPres|
|00000ff0| 73 20 3d 20 74 68 69 73 | 2e 73 74 61 72 74 44 72 |s = this|.startDr|
|00001000| 61 67 54 68 75 6d 62 3b | 0a 09 09 74 68 69 73 2e |agThumb;|...this.|
|00001010| 73 63 72 6f 6c 6c 54 68 | 75 6d 62 5f 6d 63 2e 63 |scrollTh|umb_mc.c|
|00001020| 6f 6e 74 72 6f 6c 6c 65 | 72 20 3d 20 74 68 69 73 |ontrolle|r = this|
|00001030| 3b 0a 09 09 74 68 69 73 | 2e 73 63 72 6f 6c 6c 54 |;...this|.scrollT|
|00001040| 68 75 6d 62 5f 6d 63 2e | 6f 6e 52 65 6c 65 61 73 |humb_mc.|onReleas|
|00001050| 65 20 3d 20 74 68 69 73 | 2e 73 63 72 6f 6c 6c 54 |e = this|.scrollT|
|00001060| 68 75 6d 62 5f 6d 63 2e | 6f 6e 52 65 6c 65 61 73 |humb_mc.|onReleas|
|00001070| 65 4f 75 74 73 69 64 65 | 20 3d 20 74 68 69 73 2e |eOutside| = this.|
|00001080| 73 74 6f 70 44 72 61 67 | 54 68 75 6d 62 3b 0a 09 |stopDrag|Thumb;..|
|00001090| 09 74 68 69 73 2e 73 63 | 72 6f 6c 6c 54 68 75 6d |.this.sc|rollThum|
|000010a0| 62 5f 6d 63 2e 75 73 65 | 48 61 6e 64 43 75 72 73 |b_mc.use|HandCurs|
|000010b0| 6f 72 3d 66 61 6c 73 65 | 3b 0a 09 09 74 68 69 73 |or=false|;...this|
|000010c0| 2e 74 68 75 6d 62 48 65 | 69 67 68 74 20 3d 20 74 |.thumbHe|ight = t|
|000010d0| 68 69 73 2e 70 61 67 65 | 53 69 7a 65 20 2f 20 28 |his.page|Size / (|
|000010e0| 74 68 69 73 2e 6d 61 78 | 50 6f 73 2d 74 68 69 73 |this.max|Pos-this|
|000010f0| 2e 6d 69 6e 50 6f 73 2b | 74 68 69 73 2e 70 61 67 |.minPos+|this.pag|
|00001100| 65 53 69 7a 65 29 20 2a | 20 74 68 69 73 2e 74 72 |eSize) *| this.tr|
|00001110| 61 63 6b 53 69 7a 65 3b | 0a 09 09 74 68 69 73 2e |ackSize;|...this.|
|00001120| 74 68 75 6d 62 4d 69 64 | 5f 6d 63 20 3d 20 74 68 |thumbMid|_mc = th|
|00001130| 69 73 2e 73 63 72 6f 6c | 6c 54 68 75 6d 62 5f 6d |is.scrol|lThumb_m|
|00001140| 63 2e 6d 63 5f 73 6c 69 | 64 65 72 4d 69 64 3b 0a |c.mc_sli|derMid;.|
|00001150| 09 09 74 68 69 73 2e 74 | 68 75 6d 62 54 6f 70 5f |..this.t|humbTop_|
|00001160| 6d 63 20 3d 20 74 68 69 | 73 2e 73 63 72 6f 6c 6c |mc = thi|s.scroll|
|00001170| 54 68 75 6d 62 5f 6d 63 | 2e 6d 63 5f 73 6c 69 64 |Thumb_mc|.mc_slid|
|00001180| 65 72 54 6f 70 3b 0a 09 | 09 74 68 69 73 2e 74 68 |erTop;..|.this.th|
|00001190| 75 6d 62 42 6f 74 5f 6d | 63 20 3d 20 74 68 69 73 |umbBot_m|c = this|
|000011a0| 2e 73 63 72 6f 6c 6c 54 | 68 75 6d 62 5f 6d 63 2e |.scrollT|humb_mc.|
|000011b0| 6d 63 5f 73 6c 69 64 65 | 72 42 6f 74 3b 0a 09 09 |mc_slide|rBot;...|
|000011c0| 74 68 69 73 2e 74 68 75 | 6d 62 48 65 69 67 68 74 |this.thu|mbHeight|
|000011d0| 20 3d 20 4d 61 74 68 2e | 6d 61 78 20 28 74 68 69 | = Math.|max (thi|
|000011e0| 73 2e 74 68 75 6d 62 48 | 65 69 67 68 74 2c 20 36 |s.thumbH|eight, 6|
|000011f0| 29 3b 20 2f 2f 20 36 20 | 69 73 20 74 68 65 20 73 |); // 6 |is the s|
|00001200| 6d 61 6c 6c 65 73 74 20 | 61 20 74 68 75 6d 62 20 |mallest |a thumb |
|00001210| 73 68 6f 75 6c 64 20 62 | 65 0a 09 09 74 68 69 73 |should b|e...this|
|00001220| 2e 6d 69 64 48 65 69 67 | 68 74 20 3d 20 74 68 69 |.midHeig|ht = thi|
|00001230| 73 2e 74 68 75 6d 62 48 | 65 69 67 68 74 20 2d 20 |s.thumbH|eight - |
|00001240| 74 68 69 73 2e 74 68 75 | 6d 62 54 6f 70 5f 6d 63 |this.thu|mbTop_mc|
|00001250| 2e 5f 68 65 69 67 68 74 | 20 2d 20 74 68 69 73 2e |._height| - this.|
|00001260| 74 68 75 6d 62 42 6f 74 | 5f 6d 63 2e 5f 68 65 69 |thumbBot|_mc._hei|
|00001270| 67 68 74 3b 0a 09 09 74 | 68 69 73 2e 74 68 75 6d |ght;...t|his.thum|
|00001280| 62 4d 69 64 5f 6d 63 2e | 5f 79 53 63 61 6c 65 20 |bMid_mc.|_yScale |
|00001290| 3d 20 74 68 69 73 2e 6d | 69 64 48 65 69 67 68 74 |= this.m|idHeight|
|000012a0| 20 2a 20 31 30 30 20 2f | 20 74 68 69 73 2e 74 68 | * 100 /| this.th|
|000012b0| 75 6d 62 4d 69 64 5f 6d | 63 2e 5f 68 65 69 67 68 |umbMid_m|c._heigh|
|000012c0| 74 3b 0a 09 09 74 68 69 | 73 2e 74 68 75 6d 62 4d |t;...thi|s.thumbM|
|000012d0| 69 64 5f 6d 63 2e 5f 79 | 20 3d 20 20 74 68 69 73 |id_mc._y| = this|
|000012e0| 2e 74 68 75 6d 62 54 6f | 70 5f 6d 63 2e 5f 68 65 |.thumbTo|p_mc._he|
|000012f0| 69 67 68 74 3b 0a 09 09 | 74 68 69 73 2e 74 68 75 |ight;...|this.thu|
|00001300| 6d 62 42 6f 74 5f 6d 63 | 2e 5f 79 20 3d 20 74 68 |mbBot_mc|._y = th|
|00001310| 69 73 2e 74 68 75 6d 62 | 54 6f 70 5f 6d 63 2e 5f |is.thumb|Top_mc._|
|00001320| 68 65 69 67 68 74 20 2b | 20 74 68 69 73 2e 6d 69 |height +| this.mi|
|00001330| 64 48 65 69 67 68 74 3b | 0a 09 09 74 68 69 73 2e |dHeight;|...this.|
|00001340| 73 63 72 6f 6c 6c 54 6f | 70 20 3d 20 74 68 69 73 |scrollTo|p = this|
|00001350| 2e 73 63 72 6f 6c 6c 54 | 68 75 6d 62 5f 6d 63 2e |.scrollT|humb_mc.|
|00001360| 5f 79 3b 0a 09 09 74 68 | 69 73 2e 74 72 61 63 6b |_y;...th|is.track|
|00001370| 48 65 69 67 68 74 20 3d | 20 74 68 69 73 2e 74 72 |Height =| this.tr|
|00001380| 61 63 6b 53 69 7a 65 20 | 2d 20 74 68 69 73 2e 74 |ackSize |- this.t|
|00001390| 68 75 6d 62 48 65 69 67 | 68 74 3b 0a 09 09 74 68 |humbHeig|ht;...th|
|000013a0| 69 73 2e 73 63 72 6f 6c | 6c 42 6f 74 20 3d 20 74 |is.scrol|lBot = t|
|000013b0| 68 69 73 2e 74 72 61 63 | 6b 48 65 69 67 68 74 20 |his.trac|kHeight |
|000013c0| 2b 20 74 68 69 73 2e 73 | 63 72 6f 6c 6c 54 6f 70 |+ this.s|crollTop|
|000013d0| 3b 20 0a 09 09 74 6d 70 | 20 3d 20 4d 61 74 68 2e |; ...tmp| = Math.|
|000013e0| 6d 69 6e 28 74 6d 70 2c | 20 74 68 69 73 2e 6d 61 |min(tmp,| this.ma|
|000013f0| 78 50 6f 73 29 3b 0a 09 | 09 74 68 69 73 2e 73 65 |xPos);..|.this.se|
|00001400| 74 53 63 72 6f 6c 6c 50 | 6f 73 69 74 69 6f 6e 28 |tScrollP|osition(|
|00001410| 4d 61 74 68 2e 6d 61 78 | 28 74 6d 70 2c 20 74 68 |Math.max|(tmp, th|
|00001420| 69 73 2e 6d 69 6e 50 6f | 73 29 29 3b 0a 09 7d 0a |is.minPo|s));..}.|
|00001430| 7d 0a 0a 46 53 63 72 6f | 6c 6c 42 61 72 43 6c 61 |}..FScro|llBarCla|
|00001440| 73 73 2e 70 72 6f 74 6f | 74 79 70 65 2e 67 65 74 |ss.proto|type.get|
|00001450| 53 63 72 6f 6c 6c 50 6f | 73 69 74 69 6f 6e 20 3d |ScrollPo|sition =|
|00001460| 20 66 75 6e 63 74 69 6f | 6e 20 28 29 0a 7b 0a 09 | functio|n ().{..|
|00001470| 72 65 74 75 72 6e 20 74 | 68 69 73 2e 73 63 72 6f |return t|his.scro|
|00001480| 6c 6c 50 6f 73 69 74 69 | 6f 6e 3b 0a 7d 0a 0a 46 |llPositi|on;.}..F|
|00001490| 53 63 72 6f 6c 6c 42 61 | 72 43 6c 61 73 73 2e 70 |ScrollBa|rClass.p|
|000014a0| 72 6f 74 6f 74 79 70 65 | 2e 73 65 74 53 63 72 6f |rototype|.setScro|
|000014b0| 6c 6c 50 6f 73 69 74 69 | 6f 6e 20 3d 20 66 75 6e |llPositi|on = fun|
|000014c0| 63 74 69 6f 6e 28 70 6f | 73 29 0a 7b 0a 09 74 68 |ction(po|s).{..th|
|000014d0| 69 73 2e 73 63 72 6f 6c | 6c 50 6f 73 69 74 69 6f |is.scrol|lPositio|
|000014e0| 6e 20 3d 20 70 6f 73 3b | 0a 09 69 66 20 28 74 68 |n = pos;|..if (th|
|000014f0| 69 73 2e 73 63 72 6f 6c | 6c 54 68 75 6d 62 5f 6d |is.scrol|lThumb_m|
|00001500| 63 21 3d 75 6e 64 65 66 | 69 6e 65 64 29 20 7b 0a |c!=undef|ined) {.|
|00001510| 09 09 70 6f 73 20 3d 20 | 4d 61 74 68 2e 6d 69 6e |..pos = |Math.min|
|00001520| 28 70 6f 73 2c 20 74 68 | 69 73 2e 6d 61 78 50 6f |(pos, th|is.maxPo|
|00001530| 73 29 3b 0a 09 09 70 6f | 73 20 3d 20 4d 61 74 68 |s);...po|s = Math|
|00001540| 2e 6d 61 78 28 70 6f 73 | 2c 20 74 68 69 73 2e 6d |.max(pos|, this.m|
|00001550| 69 6e 50 6f 73 29 3b 0a | 09 7d 0a 09 74 68 69 73 |inPos);.|.}..this|
|00001560| 2e 73 63 72 6f 6c 6c 54 | 68 75 6d 62 5f 6d 63 2e |.scrollT|humb_mc.|
|00001570| 5f 79 20 3d 20 28 28 70 | 6f 73 2d 74 68 69 73 2e |_y = ((p|os-this.|
|00001580| 6d 69 6e 50 6f 73 29 20 | 2a 20 74 68 69 73 2e 74 |minPos) |* this.t|
|00001590| 72 61 63 6b 48 65 69 67 | 68 74 20 2f 20 28 74 68 |rackHeig|ht / (th|
|000015a0| 69 73 2e 6d 61 78 50 6f | 73 2d 74 68 69 73 2e 6d |is.maxPo|s-this.m|
|000015b0| 69 6e 50 6f 73 29 29 20 | 2b 20 74 68 69 73 2e 73 |inPos)) |+ this.s|
|000015c0| 63 72 6f 6c 6c 54 6f 70 | 3b 0a 09 74 68 69 73 2e |crollTop|;..this.|
|000015d0| 65 78 65 63 75 74 65 43 | 61 6c 6c 42 61 63 6b 28 |executeC|allBack(|
|000015e0| 29 3b 0a 7d 0a 0a 46 53 | 63 72 6f 6c 6c 42 61 72 |);.}..FS|crollBar|
|000015f0| 43 6c 61 73 73 2e 70 72 | 6f 74 6f 74 79 70 65 2e |Class.pr|ototype.|
|00001600| 73 65 74 4c 61 72 67 65 | 53 63 72 6f 6c 6c 20 3d |setLarge|Scroll =|
|00001610| 20 66 75 6e 63 74 69 6f | 6e 28 6c 53 63 72 6f 6c | functio|n(lScrol|
|00001620| 6c 29 0a 7b 0a 09 74 68 | 69 73 2e 6c 61 72 67 65 |l).{..th|is.large|
|00001630| 53 63 72 6f 6c 6c 20 3d | 20 6c 53 63 72 6f 6c 6c |Scroll =| lScroll|
|00001640| 3b 09 0a 7d 0a 0a 46 53 | 63 72 6f 6c 6c 42 61 72 |;..}..FS|crollBar|
|00001650| 43 6c 61 73 73 2e 70 72 | 6f 74 6f 74 79 70 65 2e |Class.pr|ototype.|
|00001660| 73 65 74 53 6d 61 6c 6c | 53 63 72 6f 6c 6c 20 3d |setSmall|Scroll =|
|00001670| 20 66 75 6e 63 74 69 6f | 6e 28 73 53 63 72 6f 6c | functio|n(sScrol|
|00001680| 6c 29 0a 7b 0a 09 74 68 | 69 73 2e 73 6d 61 6c 6c |l).{..th|is.small|
|00001690| 53 63 72 6f 6c 6c 20 3d | 20 73 53 63 72 6f 6c 6c |Scroll =| sScroll|
|000016a0| 3b 09 0a 7d 0a 0a 46 53 | 63 72 6f 6c 6c 42 61 72 |;..}..FS|crollBar|
|000016b0| 43 6c 61 73 73 2e 70 72 | 6f 74 6f 74 79 70 65 2e |Class.pr|ototype.|
|000016c0| 73 65 74 45 6e 61 62 6c | 65 64 20 3d 20 66 75 6e |setEnabl|ed = fun|
|000016d0| 63 74 69 6f 6e 28 65 6e | 61 62 6c 65 64 46 6c 61 |ction(en|abledFla|
|000016e0| 67 29 0a 7b 0a 09 76 61 | 72 20 77 61 73 45 6e 61 |g).{..va|r wasEna|
|000016f0| 62 6c 65 64 20 3d 20 74 | 68 69 73 2e 65 6e 61 62 |bled = t|his.enab|
|00001700| 6c 65 3b 0a 09 69 66 20 | 28 65 6e 61 62 6c 65 64 |le;..if |(enabled|
|00001710| 46 6c 61 67 20 26 26 20 | 21 77 61 73 45 6e 61 62 |Flag && |!wasEnab|
|00001720| 6c 65 64 29 20 7b 0a 09 | 09 74 68 69 73 2e 65 6e |led) {..|.this.en|
|00001730| 61 62 6c 65 20 3d 20 65 | 6e 61 62 6c 65 64 46 6c |able = e|nabledFl|
|00001740| 61 67 3b 0a 09 09 69 66 | 20 28 74 68 69 73 2e 74 |ag;...if| (this.t|
|00001750| 65 78 74 46 69 65 6c 64 | 21 3d 75 6e 64 65 66 69 |extField|!=undefi|
|00001760| 6e 65 64 29 20 7b 0a 09 | 09 09 74 68 69 73 2e 73 |ned) {..|..this.s|
|00001770| 65 74 53 63 72 6f 6c 6c | 54 61 72 67 65 74 28 74 |etScroll|Target(t|
|00001780| 68 69 73 2e 74 65 78 74 | 46 69 65 6c 64 29 3b 0a |his.text|Field);.|
|00001790| 09 09 7d 20 65 6c 73 65 | 20 7b 0a 09 09 09 74 68 |..} else| {....th|
|000017a0| 69 73 2e 73 65 74 53 63 | 72 6f 6c 6c 50 72 6f 70 |is.setSc|rollProp|
|000017b0| 65 72 74 69 65 73 28 74 | 68 69 73 2e 70 61 67 65 |erties(t|his.page|
|000017c0| 53 69 7a 65 2c 0a 09 09 | 09 09 09 09 09 74 68 69 |Size,...|.....thi|
|000017d0| 73 2e 63 61 63 68 65 64 | 4d 69 6e 50 6f 73 2c 20 |s.cached|MinPos, |
|000017e0| 74 68 69 73 2e 63 61 63 | 68 65 64 4d 61 78 50 6f |this.cac|hedMaxPo|
|000017f0| 73 29 3b 0a 09 09 09 74 | 68 69 73 2e 73 65 74 53 |s);....t|his.setS|
|00001800| 63 72 6f 6c 6c 50 6f 73 | 69 74 69 6f 6e 28 74 68 |crollPos|ition(th|
|00001810| 69 73 2e 63 61 63 68 65 | 64 50 6f 73 29 3b 0a 09 |is.cache|dPos);..|
|00001820| 09 7d 0a 09 09 74 68 69 | 73 2e 63 6c 69 63 6b 46 |.}...thi|s.clickF|
|00001830| 69 6c 74 65 72 20 3d 20 | 75 6e 64 65 66 69 6e 65 |ilter = |undefine|
|00001840| 64 3b 0a 09 7d 20 65 6c | 73 65 20 69 66 20 28 21 |d;..} el|se if (!|
|00001850| 65 6e 61 62 6c 65 64 46 | 6c 61 67 20 26 26 20 77 |enabledF|lag && w|
|00001860| 61 73 45 6e 61 62 6c 65 | 64 29 20 7b 20 0a 09 09 |asEnable|d) { ...|
|00001870| 74 68 69 73 2e 74 65 78 | 74 46 69 65 6c 64 2e 72 |this.tex|tField.r|
|00001880| 65 6d 6f 76 65 4c 69 73 | 74 65 6e 65 72 28 74 68 |emoveLis|tener(th|
|00001890| 69 73 29 3b 0a 09 09 74 | 68 69 73 2e 63 61 63 68 |is);...t|his.cach|
|000018a0| 65 64 50 6f 73 20 3d 20 | 74 68 69 73 2e 67 65 74 |edPos = |this.get|
|000018b0| 53 63 72 6f 6c 6c 50 6f | 73 69 74 69 6f 6e 28 29 |ScrollPo|sition()|
|000018c0| 3b 0a 09 09 74 68 69 73 | 2e 63 61 63 68 65 64 4d |;...this|.cachedM|
|000018d0| 69 6e 50 6f 73 20 3d 20 | 74 68 69 73 2e 6d 69 6e |inPos = |this.min|
|000018e0| 50 6f 73 3b 0a 09 09 74 | 68 69 73 2e 63 61 63 68 |Pos;...t|his.cach|
|000018f0| 65 64 4d 61 78 50 6f 73 | 20 3d 20 74 68 69 73 2e |edMaxPos| = this.|
|00001900| 6d 61 78 50 6f 73 3b 0a | 09 09 69 66 20 28 74 68 |maxPos;.|..if (th|
|00001910| 69 73 2e 63 6c 69 63 6b | 46 69 6c 74 65 72 3d 3d |is.click|Filter==|
|00001920| 75 6e 64 65 66 69 6e 65 | 64 29 20 7b 0a 09 09 09 |undefine|d) {....|
|00001930| 74 68 69 73 2e 73 65 74 | 53 63 72 6f 6c 6c 50 72 |this.set|ScrollPr|
|00001940| 6f 70 65 72 74 69 65 73 | 28 74 68 69 73 2e 70 61 |operties|(this.pa|
|00001950| 67 65 53 69 7a 65 2c 30 | 2c 30 29 3b 0a 09 09 7d |geSize,0|,0);...}|
|00001960| 20 65 6c 73 65 20 7b 0a | 09 09 09 74 68 69 73 2e | else {.|...this.|
|00001970| 63 6c 69 63 6b 46 69 6c | 74 65 72 3d 74 72 75 65 |clickFil|ter=true|
|00001980| 3b 0a 09 09 7d 0a 09 09 | 74 68 69 73 2e 65 6e 61 |;...}...|this.ena|
|00001990| 62 6c 65 20 3d 20 65 6e | 61 62 6c 65 64 46 6c 61 |ble = en|abledFla|
|000019a0| 67 3b 0a 09 7d 0a 7d 0a | 0a 0a 2f 2f 20 73 74 72 |g;..}.}.|..// str|
|000019b0| 65 74 63 68 65 73 20 74 | 68 65 20 74 72 61 63 6b |etches t|he track|
|000019c0| 2c 20 63 72 65 61 74 65 | 73 20 2b 20 70 6f 73 69 |, create|s + posi|
|000019d0| 74 69 6f 6e 73 20 61 72 | 72 6f 77 73 0a 46 53 63 |tions ar|rows.FSc|
|000019e0| 72 6f 6c 6c 42 61 72 43 | 6c 61 73 73 2e 70 72 6f |rollBarC|lass.pro|
|000019f0| 74 6f 74 79 70 65 2e 73 | 65 74 53 69 7a 65 20 3d |totype.s|etSize =|
|00001a00| 20 66 75 6e 63 74 69 6f | 6e 28 68 67 74 29 0a 7b | functio|n(hgt).{|
|00001a10| 0a 09 69 66 20 28 74 68 | 69 73 2e 5f 68 65 69 67 |..if (th|is._heig|
|00001a20| 68 74 3d 3d 31 29 20 72 | 65 74 75 72 6e 3b 0a 09 |ht==1) r|eturn;..|
|00001a30| 74 68 69 73 2e 77 69 64 | 74 68 20 3d 20 68 67 74 |this.wid|th = hgt|
|00001a40| 3b 0a 09 74 68 69 73 2e | 73 63 72 6f 6c 6c 54 72 |;..this.|scrollTr|
|00001a50| 61 63 6b 5f 6d 63 2e 5f | 79 73 63 61 6c 65 20 3d |ack_mc._|yscale =|
|00001a60| 20 31 30 30 3b 0a 09 74 | 68 69 73 2e 73 63 72 6f | 100;..t|his.scro|
|00001a70| 6c 6c 54 72 61 63 6b 5f | 6d 63 2e 5f 79 73 63 61 |llTrack_|mc._ysca|
|00001a80| 6c 65 20 3d 20 31 30 30 | 20 2a 20 74 68 69 73 2e |le = 100| * this.|
|00001a90| 77 69 64 74 68 20 2f 20 | 74 68 69 73 2e 73 63 72 |width / |this.scr|
|00001aa0| 6f 6c 6c 54 72 61 63 6b | 5f 6d 63 2e 5f 68 65 69 |ollTrack|_mc._hei|
|00001ab0| 67 68 74 3b 0a 09 69 66 | 20 28 74 68 69 73 2e 75 |ght;..if| (this.u|
|00001ac0| 70 41 72 72 6f 77 5f 6d | 63 3d 3d 75 6e 64 65 66 |pArrow_m|c==undef|
|00001ad0| 69 6e 65 64 29 20 7b 0a | 09 09 74 68 69 73 2e 61 |ined) {.|..this.a|
|00001ae0| 74 74 61 63 68 4d 6f 76 | 69 65 28 22 55 70 41 72 |ttachMov|ie("UpAr|
|00001af0| 72 6f 77 22 2c 20 22 75 | 70 41 72 72 6f 77 5f 6d |row", "u|pArrow_m|
|00001b00| 63 22 2c 20 31 29 3b 20 | 20 20 2f 2f 31 20 69 73 |c", 1); | //1 is|
|00001b10| 20 61 72 62 69 74 72 61 | 72 79 0a 09 09 74 68 69 | arbitra|ry...thi|
|00001b20| 73 2e 61 74 74 61 63 68 | 4d 6f 76 69 65 28 22 44 |s.attach|Movie("D|
|00001b30| 6f 77 6e 41 72 72 6f 77 | 22 2c 20 22 64 6f 77 6e |ownArrow|", "down|
|00001b40| 41 72 72 6f 77 5f 6d 63 | 22 2c 20 32 29 3b 20 20 |Arrow_mc|", 2); |
|00001b50| 20 2f 2f 32 20 69 73 20 | 61 72 62 69 74 72 61 72 | //2 is |arbitrar|
|00001b60| 79 0a 09 09 74 68 69 73 | 2e 64 6f 77 6e 41 72 72 |y...this|.downArr|
|00001b70| 6f 77 5f 6d 63 2e 63 6f | 6e 74 72 6f 6c 6c 65 72 |ow_mc.co|ntroller|
|00001b80| 20 3d 20 74 68 69 73 2e | 75 70 41 72 72 6f 77 5f | = this.|upArrow_|
|00001b90| 6d 63 2e 63 6f 6e 74 72 | 6f 6c 6c 65 72 20 3d 20 |mc.contr|oller = |
|00001ba0| 74 68 69 73 3b 0a 09 09 | 74 68 69 73 2e 75 70 41 |this;...|this.upA|
|00001bb0| 72 72 6f 77 5f 6d 63 2e | 75 73 65 48 61 6e 64 43 |rrow_mc.|useHandC|
|00001bc0| 75 72 73 6f 72 20 3d 20 | 74 68 69 73 2e 64 6f 77 |ursor = |this.dow|
|00001bd0| 6e 41 72 72 6f 77 5f 6d | 63 2e 75 73 65 48 61 6e |nArrow_m|c.useHan|
|00001be0| 64 43 75 72 73 6f 72 20 | 3d 20 66 61 6c 73 65 3b |dCursor |= false;|
|00001bf0| 0a 09 09 74 68 69 73 2e | 75 70 41 72 72 6f 77 5f |...this.|upArrow_|
|00001c00| 6d 63 2e 5f 78 20 3d 20 | 74 68 69 73 2e 75 70 41 |mc._x = |this.upA|
|00001c10| 72 72 6f 77 5f 6d 63 2e | 5f 79 20 3d 20 30 3b 0a |rrow_mc.|_y = 0;.|
|00001c20| 09 09 74 68 69 73 2e 64 | 6f 77 6e 41 72 72 6f 77 |..this.d|ownArrow|
|00001c30| 5f 6d 63 2e 5f 78 20 3d | 20 30 3b 0a 09 7d 0a 09 |_mc._x =| 0;..}..|
|00001c40| 74 68 69 73 2e 73 63 72 | 6f 6c 6c 54 72 61 63 6b |this.scr|ollTrack|
|00001c50| 5f 6d 63 2e 63 6f 6e 74 | 72 6f 6c 6c 65 72 20 3d |_mc.cont|roller =|
|00001c60| 20 74 68 69 73 3b 0a 09 | 74 68 69 73 2e 64 6f 77 | this;..|this.dow|
|00001c70| 6e 41 72 72 6f 77 5f 6d | 63 2e 5f 79 20 3d 20 74 |nArrow_m|c._y = t|
|00001c80| 68 69 73 2e 77 69 64 74 | 68 20 2d 20 74 68 69 73 |his.widt|h - this|
|00001c90| 2e 64 6f 77 6e 41 72 72 | 6f 77 5f 6d 63 2e 5f 68 |.downArr|ow_mc._h|
|00001ca0| 65 69 67 68 74 3b 0a 09 | 74 68 69 73 2e 74 72 61 |eight;..|this.tra|
|00001cb0| 63 6b 53 69 7a 65 20 3d | 20 74 68 69 73 2e 77 69 |ckSize =| this.wi|
|00001cc0| 64 74 68 20 2d 20 28 32 | 20 2a 20 74 68 69 73 2e |dth - (2| * this.|
|00001cd0| 64 6f 77 6e 41 72 72 6f | 77 5f 6d 63 2e 5f 68 65 |downArro|w_mc._he|
|00001ce0| 69 67 68 74 29 3b 0a 09 | 69 66 20 28 74 68 69 73 |ight);..|if (this|
|00001cf0| 2e 74 65 78 74 46 69 65 | 6c 64 21 3d 75 6e 64 65 |.textFie|ld!=unde|
|00001d00| 66 69 6e 65 64 29 20 7b | 0a 09 09 74 68 69 73 2e |fined) {|...this.|
|00001d10| 6f 6e 54 65 78 74 43 68 | 61 6e 67 65 64 28 29 3b |onTextCh|anged();|
|00001d20| 0a 09 7d 20 65 6c 73 65 | 20 7b 0a 09 09 74 68 69 |..} else| {...thi|
|00001d30| 73 2e 73 65 74 53 63 72 | 6f 6c 6c 50 72 6f 70 65 |s.setScr|ollPrope|
|00001d40| 72 74 69 65 73 28 74 68 | 69 73 2e 70 61 67 65 53 |rties(th|is.pageS|
|00001d50| 69 7a 65 2c 20 74 68 69 | 73 2e 6d 69 6e 50 6f 73 |ize, thi|s.minPos|
|00001d60| 2c 20 74 68 69 73 2e 6d | 61 78 50 6f 73 29 3b 0a |, this.m|axPos);.|
|00001d70| 09 7d 0a 7d 0a 0a 0a 2f | 2f 20 20 20 3a 3a 3a 20 |.}.}.../|/ ::: |
|00001d80| 50 52 49 56 41 54 45 20 | 4d 45 54 48 4f 44 53 0a |PRIVATE |METHODS.|
|00001d90| 0a 46 53 63 72 6f 6c 6c | 42 61 72 43 6c 61 73 73 |.FScroll|BarClass|
|00001da0| 2e 70 72 6f 74 6f 74 79 | 70 65 2e 73 63 72 6f 6c |.prototy|pe.scrol|
|00001db0| 6c 49 74 20 3d 20 66 75 | 6e 63 74 69 6f 6e 20 28 |lIt = fu|nction (|
|00001dc0| 69 6e 63 2c 20 6d 6f 64 | 65 29 0a 7b 0a 09 76 61 |inc, mod|e).{..va|
|00001dd0| 72 20 64 65 6c 74 20 3d | 20 74 68 69 73 2e 73 6d |r delt =| this.sm|
|00001de0| 61 6c 6c 53 63 72 6f 6c | 6c 3b 0a 09 69 66 20 28 |allScrol|l;..if (|
|00001df0| 69 6e 63 21 3d 22 6f 6e | 65 22 29 20 7b 0a 09 09 |inc!="on|e") {...|
|00001e00| 64 65 6c 74 20 3d 20 28 | 74 68 69 73 2e 6c 61 72 |delt = (|this.lar|
|00001e10| 67 65 53 63 72 6f 6c 6c | 3d 3d 30 29 20 3f 20 74 |geScroll|==0) ? t|
|00001e20| 68 69 73 2e 70 61 67 65 | 53 69 7a 65 20 3a 20 74 |his.page|Size : t|
|00001e30| 68 69 73 2e 6c 61 72 67 | 65 53 63 72 6f 6c 6c 3b |his.larg|eScroll;|
|00001e40| 0a 09 7d 20 0a 09 76 61 | 72 20 6e 65 77 50 6f 73 |..} ..va|r newPos|
|00001e50| 20 3d 20 74 68 69 73 2e | 67 65 74 53 63 72 6f 6c | = this.|getScrol|
|00001e60| 6c 50 6f 73 69 74 69 6f | 6e 28 29 20 2b 20 28 6d |lPositio|n() + (m|
|00001e70| 6f 64 65 2a 64 65 6c 74 | 29 3b 0a 09 69 66 20 28 |ode*delt|);..if (|
|00001e80| 6e 65 77 50 6f 73 3e 74 | 68 69 73 2e 6d 61 78 50 |newPos>t|his.maxP|
|00001e90| 6f 73 29 20 7b 0a 09 09 | 6e 65 77 50 6f 73 20 3d |os) {...|newPos =|
|00001ea0| 20 74 68 69 73 2e 6d 61 | 78 50 6f 73 3b 0a 09 7d | this.ma|xPos;..}|
|00001eb0| 20 65 6c 73 65 20 69 66 | 20 28 6e 65 77 50 6f 73 | else if| (newPos|
|00001ec0| 3c 74 68 69 73 2e 6d 69 | 6e 50 6f 73 29 20 7b 0a |<this.mi|nPos) {.|
|00001ed0| 09 09 6e 65 77 50 6f 73 | 20 3d 20 74 68 69 73 2e |..newPos| = this.|
|00001ee0| 6d 69 6e 50 6f 73 3b 0a | 09 7d 0a 09 74 68 69 73 |minPos;.|.}..this|
|00001ef0| 2e 73 65 74 53 63 72 6f | 6c 6c 50 6f 73 69 74 69 |.setScro|llPositi|
|00001f00| 6f 6e 28 6e 65 77 50 6f | 73 29 3b 0a 7d 0a 0a 46 |on(newPo|s);.}..F|
|00001f10| 53 63 72 6f 6c 6c 42 61 | 72 43 6c 61 73 73 2e 70 |ScrollBa|rClass.p|
|00001f20| 72 6f 74 6f 74 79 70 65 | 2e 73 74 61 72 74 44 72 |rototype|.startDr|
|00001f30| 61 67 54 68 75 6d 62 20 | 3d 20 66 75 6e 63 74 69 |agThumb |= functi|
|00001f40| 6f 6e 28 29 0a 7b 0a 09 | 74 68 69 73 2e 6c 61 73 |on().{..|this.las|
|00001f50| 74 59 20 3d 20 74 68 69 | 73 2e 5f 79 6d 6f 75 73 |tY = thi|s._ymous|
|00001f60| 65 3b 0a 09 74 68 69 73 | 2e 6f 6e 4d 6f 75 73 65 |e;..this|.onMouse|
|00001f70| 4d 6f 76 65 20 3d 20 74 | 68 69 73 2e 63 6f 6e 74 |Move = t|his.cont|
|00001f80| 72 6f 6c 6c 65 72 2e 64 | 72 61 67 54 68 75 6d 62 |roller.d|ragThumb|
|00001f90| 3b 0a 7d 0a 0a 46 53 63 | 72 6f 6c 6c 42 61 72 43 |;.}..FSc|rollBarC|
|00001fa0| 6c 61 73 73 2e 70 72 6f | 74 6f 74 79 70 65 2e 64 |lass.pro|totype.d|
|00001fb0| 72 61 67 54 68 75 6d 62 | 20 3d 20 66 75 6e 63 74 |ragThumb| = funct|
|00001fc0| 69 6f 6e 28 29 0a 7b 0a | 09 74 68 69 73 2e 73 63 |ion().{.|.this.sc|
|00001fd0| 72 6f 6c 6c 4d 6f 76 65 | 20 3d 20 74 68 69 73 2e |rollMove| = this.|
|00001fe0| 5f 79 6d 6f 75 73 65 20 | 2d 20 74 68 69 73 2e 6c |_ymouse |- this.l|
|00001ff0| 61 73 74 59 3b 0a 09 74 | 68 69 73 2e 73 63 72 6f |astY;..t|his.scro|
|00002000| 6c 6c 4d 6f 76 65 20 2b | 3d 20 74 68 69 73 2e 5f |llMove +|= this._|
|00002010| 79 3b 0a 09 69 66 20 28 | 74 68 69 73 2e 73 63 72 |y;..if (|this.scr|
|00002020| 6f 6c 6c 4d 6f 76 65 3c | 74 68 69 73 2e 63 6f 6e |ollMove<|this.con|
|00002030| 74 72 6f 6c 6c 65 72 2e | 73 63 72 6f 6c 6c 54 6f |troller.|scrollTo|
|00002040| 70 29 20 7b 0a 09 09 74 | 68 69 73 2e 73 63 72 6f |p) {...t|his.scro|
|00002050| 6c 6c 4d 6f 76 65 20 3d | 20 74 68 69 73 2e 63 6f |llMove =| this.co|
|00002060| 6e 74 72 6f 6c 6c 65 72 | 2e 73 63 72 6f 6c 6c 54 |ntroller|.scrollT|
|00002070| 6f 70 3b 0a 09 7d 0a 09 | 65 6c 73 65 20 69 66 20 |op;..}..|else if |
|00002080| 28 74 68 69 73 2e 73 63 | 72 6f 6c 6c 4d 6f 76 65 |(this.sc|rollMove|
|00002090| 3e 74 68 69 73 2e 63 6f | 6e 74 72 6f 6c 6c 65 72 |>this.co|ntroller|
|000020a0| 2e 73 63 72 6f 6c 6c 42 | 6f 74 29 20 7b 0a 09 09 |.scrollB|ot) {...|
|000020b0| 74 68 69 73 2e 73 63 72 | 6f 6c 6c 4d 6f 76 65 20 |this.scr|ollMove |
|000020c0| 3d 20 74 68 69 73 2e 63 | 6f 6e 74 72 6f 6c 6c 65 |= this.c|ontrolle|
|000020d0| 72 2e 73 63 72 6f 6c 6c | 42 6f 74 3b 0a 09 7d 0a |r.scroll|Bot;..}.|
|000020e0| 09 74 68 69 73 2e 5f 79 | 20 3d 20 74 68 69 73 2e |.this._y| = this.|
|000020f0| 73 63 72 6f 6c 6c 4d 6f | 76 65 3b 0a 09 76 61 72 |scrollMo|ve;..var|
|00002100| 20 63 20 3d 20 74 68 69 | 73 2e 63 6f 6e 74 72 6f | c = thi|s.contro|
|00002110| 6c 6c 65 72 3b 0a 09 63 | 2e 73 63 72 6f 6c 6c 50 |ller;..c|.scrollP|
|00002120| 6f 73 69 74 69 6f 6e 20 | 3d 20 4d 61 74 68 2e 72 |osition |= Math.r|
|00002130| 6f 75 6e 64 28 20 28 63 | 2e 6d 61 78 50 6f 73 2d |ound( (c|.maxPos-|
|00002140| 63 2e 6d 69 6e 50 6f 73 | 29 20 2a 20 28 74 68 69 |c.minPos|) * (thi|
|00002150| 73 2e 5f 79 20 2d 20 63 | 2e 73 63 72 6f 6c 6c 54 |s._y - c|.scrollT|
|00002160| 6f 70 29 20 2f 20 63 2e | 74 72 61 63 6b 48 65 69 |op) / c.|trackHei|
|00002170| 67 68 74 29 20 2b 20 63 | 2e 6d 69 6e 50 6f 73 3b |ght) + c|.minPos;|
|00002180| 0a 0a 09 74 68 69 73 2e | 63 6f 6e 74 72 6f 6c 6c |...this.|controll|
|00002190| 65 72 2e 69 73 53 63 72 | 6f 6c 6c 69 6e 67 20 3d |er.isScr|olling =|
|000021a0| 20 74 72 75 65 3b 0a 09 | 75 70 64 61 74 65 41 66 | true;..|updateAf|
|000021b0| 74 65 72 45 76 65 6e 74 | 28 29 3b 0a 09 74 68 69 |terEvent|();..thi|
|000021c0| 73 2e 63 6f 6e 74 72 6f | 6c 6c 65 72 2e 65 78 65 |s.contro|ller.exe|
|000021d0| 63 75 74 65 43 61 6c 6c | 42 61 63 6b 28 29 3b 0a |cuteCall|Back();.|
|000021e0| 7d 0a 0a 46 53 63 72 6f | 6c 6c 42 61 72 43 6c 61 |}..FScro|llBarCla|
|000021f0| 73 73 2e 70 72 6f 74 6f | 74 79 70 65 2e 73 74 6f |ss.proto|type.sto|
|00002200| 70 44 72 61 67 54 68 75 | 6d 62 20 3d 20 66 75 6e |pDragThu|mb = fun|
|00002210| 63 74 69 6f 6e 28 29 0a | 7b 0a 09 74 68 69 73 2e |ction().|{..this.|
|00002220| 63 6f 6e 74 72 6f 6c 6c | 65 72 2e 69 73 53 63 72 |controll|er.isScr|
|00002230| 6f 6c 6c 69 6e 67 20 3d | 20 66 61 6c 73 65 3b 0a |olling =| false;.|
|00002240| 09 74 68 69 73 2e 6f 6e | 4d 6f 75 73 65 4d 6f 76 |.this.on|MouseMov|
|00002250| 65 20 3d 20 6e 75 6c 6c | 3b 0a 7d 0a 0a 46 53 63 |e = null|;.}..FSc|
|00002260| 72 6f 6c 6c 42 61 72 43 | 6c 61 73 73 2e 70 72 6f |rollBarC|lass.pro|
|00002270| 74 6f 74 79 70 65 2e 73 | 74 61 72 74 54 72 61 63 |totype.s|tartTrac|
|00002280| 6b 53 63 72 6f 6c 6c 65 | 72 20 3d 20 66 75 6e 63 |kScrolle|r = func|
|00002290| 74 69 6f 6e 28 29 0a 7b | 0a 09 74 68 69 73 2e 63 |tion().{|..this.c|
|000022a0| 6f 6e 74 72 6f 6c 6c 65 | 72 2e 74 72 61 63 6b 53 |ontrolle|r.trackS|
|000022b0| 63 72 6f 6c 6c 65 72 28 | 29 3b 0a 09 74 68 69 73 |croller(|);..this|
|000022c0| 2e 63 6f 6e 74 72 6f 6c | 6c 65 72 2e 73 63 72 6f |.control|ler.scro|
|000022d0| 6c 6c 69 6e 67 20 3d 20 | 73 65 74 49 6e 74 65 72 |lling = |setInter|
|000022e0| 76 61 6c 28 74 68 69 73 | 2e 63 6f 6e 74 72 6f 6c |val(this|.control|
|000022f0| 6c 65 72 2c 20 22 73 63 | 72 6f 6c 6c 49 6e 74 65 |ler, "sc|rollInte|
|00002300| 72 76 61 6c 22 2c 20 35 | 30 30 2c 20 22 70 61 67 |rval", 5|00, "pag|
|00002310| 65 22 2c 20 2d 31 29 3b | 0a 7d 0a 0a 46 53 63 72 |e", -1);|.}..FScr|
|00002320| 6f 6c 6c 42 61 72 43 6c | 61 73 73 2e 70 72 6f 74 |ollBarCl|ass.prot|
|00002330| 6f 74 79 70 65 2e 73 63 | 72 6f 6c 6c 49 6e 74 65 |otype.sc|rollInte|
|00002340| 72 76 61 6c 20 3d 20 66 | 75 6e 63 74 69 6f 6e 28 |rval = f|unction(|
|00002350| 69 6e 63 2c 6d 6f 64 65 | 29 0a 7b 0a 09 63 6c 65 |inc,mode|).{..cle|
|00002360| 61 72 49 6e 74 65 72 76 | 61 6c 28 74 68 69 73 2e |arInterv|al(this.|
|00002370| 73 63 72 6f 6c 6c 69 6e | 67 29 3b 0a 09 69 66 20 |scrollin|g);..if |
|00002380| 28 69 6e 63 3d 3d 22 70 | 61 67 65 22 29 20 7b 0a |(inc=="p|age") {.|
|00002390| 09 09 74 68 69 73 2e 74 | 72 61 63 6b 53 63 72 6f |..this.t|rackScro|
|000023a0| 6c 6c 65 72 28 29 3b 0a | 09 7d 20 65 6c 73 65 20 |ller();.|.} else |
|000023b0| 7b 0a 09 09 74 68 69 73 | 2e 73 63 72 6f 6c 6c 49 |{...this|.scrollI|
|000023c0| 74 28 69 6e 63 2c 6d 6f | 64 65 29 3b 0a 09 7d 0a |t(inc,mo|de);..}.|
|000023d0| 09 74 68 69 73 2e 73 63 | 72 6f 6c 6c 69 6e 67 20 |.this.sc|rolling |
|000023e0| 3d 20 73 65 74 49 6e 74 | 65 72 76 61 6c 28 74 68 |= setInt|erval(th|
|000023f0| 69 73 2c 20 22 73 63 72 | 6f 6c 6c 49 6e 74 65 72 |is, "scr|ollInter|
|00002400| 76 61 6c 22 2c 20 33 35 | 2c 20 69 6e 63 2c 20 6d |val", 35|, inc, m|
|00002410| 6f 64 65 29 3b 0a 7d 0a | 0a 46 53 63 72 6f 6c 6c |ode);.}.|.FScroll|
|00002420| 42 61 72 43 6c 61 73 73 | 2e 70 72 6f 74 6f 74 79 |BarClass|.prototy|
|00002430| 70 65 2e 74 72 61 63 6b | 53 63 72 6f 6c 6c 65 72 |pe.track|Scroller|
|00002440| 20 3d 20 66 75 6e 63 74 | 69 6f 6e 28 29 0a 7b 0a | = funct|ion().{.|
|00002450| 09 69 66 20 28 74 68 69 | 73 2e 73 63 72 6f 6c 6c |.if (thi|s.scroll|
|00002460| 54 68 75 6d 62 5f 6d 63 | 2e 5f 79 2b 74 68 69 73 |Thumb_mc|._y+this|
|00002470| 2e 74 68 75 6d 62 48 65 | 69 67 68 74 3c 74 68 69 |.thumbHe|ight<thi|
|00002480| 73 2e 5f 79 6d 6f 75 73 | 65 29 20 7b 0a 09 09 74 |s._ymous|e) {...t|
|00002490| 68 69 73 2e 73 63 72 6f | 6c 6c 49 74 28 22 70 61 |his.scro|llIt("pa|
|000024a0| 67 65 22 2c 31 29 3b 0a | 09 7d 20 65 6c 73 65 20 |ge",1);.|.} else |
|000024b0| 69 66 20 28 74 68 69 73 | 2e 73 63 72 6f 6c 6c 54 |if (this|.scrollT|
|000024c0| 68 75 6d 62 5f 6d 63 2e | 5f 79 3e 74 68 69 73 2e |humb_mc.|_y>this.|
|000024d0| 5f 79 6d 6f 75 73 65 29 | 20 7b 0a 09 09 74 68 69 |_ymouse)| {...thi|
|000024e0| 73 2e 73 63 72 6f 6c 6c | 49 74 28 22 70 61 67 65 |s.scroll|It("page|
|000024f0| 22 2c 2d 31 29 3b 0a 09 | 7d 0a 7d 0a 0a 46 53 63 |",-1);..|}.}..FSc|
|00002500| 72 6f 6c 6c 42 61 72 43 | 6c 61 73 73 2e 70 72 6f |rollBarC|lass.pro|
|00002510| 74 6f 74 79 70 65 2e 73 | 74 6f 70 53 63 72 6f 6c |totype.s|topScrol|
|00002520| 6c 69 6e 67 20 3d 20 66 | 75 6e 63 74 69 6f 6e 28 |ling = f|unction(|
|00002530| 29 0a 7b 0a 09 74 68 69 | 73 2e 63 6f 6e 74 72 6f |).{..thi|s.contro|
|00002540| 6c 6c 65 72 2e 64 6f 77 | 6e 41 72 72 6f 77 5f 6d |ller.dow|nArrow_m|
|00002550| 63 2e 67 6f 74 6f 41 6e | 64 53 74 6f 70 28 31 29 |c.gotoAn|dStop(1)|
|00002560| 3b 0a 09 74 68 69 73 2e | 63 6f 6e 74 72 6f 6c 6c |;..this.|controll|
|00002570| 65 72 2e 75 70 41 72 72 | 6f 77 5f 6d 63 2e 67 6f |er.upArr|ow_mc.go|
|00002580| 74 6f 41 6e 64 53 74 6f | 70 28 31 29 3b 0a 09 63 |toAndSto|p(1);..c|
|00002590| 6c 65 61 72 49 6e 74 65 | 72 76 61 6c 28 74 68 69 |learInte|rval(thi|
|000025a0| 73 2e 63 6f 6e 74 72 6f | 6c 6c 65 72 2e 73 63 72 |s.contro|ller.scr|
|000025b0| 6f 6c 6c 69 6e 67 29 3b | 0a 7d 0a 0a 46 53 63 72 |olling);|.}..FScr|
|000025c0| 6f 6c 6c 42 61 72 43 6c | 61 73 73 2e 70 72 6f 74 |ollBarCl|ass.prot|
|000025d0| 6f 74 79 70 65 2e 73 74 | 61 72 74 55 70 53 63 72 |otype.st|artUpScr|
|000025e0| 6f 6c 6c 65 72 20 3d 20 | 66 75 6e 63 74 69 6f 6e |oller = |function|
|000025f0| 28 29 0a 7b 0a 09 74 68 | 69 73 2e 63 6f 6e 74 72 |().{..th|is.contr|
|00002600| 6f 6c 6c 65 72 2e 75 70 | 41 72 72 6f 77 5f 6d 63 |oller.up|Arrow_mc|
|00002610| 2e 67 6f 74 6f 41 6e 64 | 53 74 6f 70 28 32 29 3b |.gotoAnd|Stop(2);|
|00002620| 0a 09 74 68 69 73 2e 63 | 6f 6e 74 72 6f 6c 6c 65 |..this.c|ontrolle|
|00002630| 72 2e 73 63 72 6f 6c 6c | 49 74 28 22 6f 6e 65 22 |r.scroll|It("one"|
|00002640| 2c 2d 31 29 3b 0a 09 74 | 68 69 73 2e 63 6f 6e 74 |,-1);..t|his.cont|
|00002650| 72 6f 6c 6c 65 72 2e 73 | 63 72 6f 6c 6c 69 6e 67 |roller.s|crolling|
|00002660| 20 3d 20 73 65 74 49 6e | 74 65 72 76 61 6c 28 74 | = setIn|terval(t|
|00002670| 68 69 73 2e 63 6f 6e 74 | 72 6f 6c 6c 65 72 2c 20 |his.cont|roller, |
|00002680| 22 73 63 72 6f 6c 6c 49 | 6e 74 65 72 76 61 6c 22 |"scrollI|nterval"|
|00002690| 2c 35 30 30 2c 20 22 6f | 6e 65 22 2c 20 2d 31 29 |,500, "o|ne", -1)|
|000026a0| 3b 0a 7d 0a 0a 46 53 63 | 72 6f 6c 6c 42 61 72 43 |;.}..FSc|rollBarC|
|000026b0| 6c 61 73 73 2e 70 72 6f | 74 6f 74 79 70 65 2e 73 |lass.pro|totype.s|
|000026c0| 74 61 72 74 44 6f 77 6e | 53 63 72 6f 6c 6c 65 72 |tartDown|Scroller|
|000026d0| 20 3d 20 66 75 6e 63 74 | 69 6f 6e 28 29 0a 7b 0a | = funct|ion().{.|
|000026e0| 09 74 68 69 73 2e 63 6f | 6e 74 72 6f 6c 6c 65 72 |.this.co|ntroller|
|000026f0| 2e 64 6f 77 6e 41 72 72 | 6f 77 5f 6d 63 2e 67 6f |.downArr|ow_mc.go|
|00002700| 74 6f 41 6e 64 53 74 6f | 70 28 32 29 3b 0a 09 74 |toAndSto|p(2);..t|
|00002710| 68 69 73 2e 63 6f 6e 74 | 72 6f 6c 6c 65 72 2e 73 |his.cont|roller.s|
|00002720| 63 72 6f 6c 6c 49 74 28 | 22 6f 6e 65 22 2c 31 29 |crollIt(|"one",1)|
|00002730| 3b 0a 09 74 68 69 73 2e | 63 6f 6e 74 72 6f 6c 6c |;..this.|controll|
|00002740| 65 72 2e 73 63 72 6f 6c | 6c 69 6e 67 20 3d 20 73 |er.scrol|ling = s|
|00002750| 65 74 49 6e 74 65 72 76 | 61 6c 28 74 68 69 73 2e |etInterv|al(this.|
|00002760| 63 6f 6e 74 72 6f 6c 6c | 65 72 2c 20 22 73 63 72 |controll|er, "scr|
|00002770| 6f 6c 6c 49 6e 74 65 72 | 76 61 6c 22 2c 20 35 30 |ollInter|val", 50|
|00002780| 30 2c 20 22 6f 6e 65 22 | 2c 20 31 29 3b 0a 7d 0a |0, "one"|, 1);.}.|
|00002790| 0a 0a 2f 2f 0a 2f 2f 20 | 42 65 67 69 6e 20 53 70 |..//.// |Begin Sp|
|000027a0| 65 63 69 61 6c 20 74 65 | 78 74 20 73 63 72 6f 6c |ecial te|xt scrol|
|000027b0| 6c 65 72 20 66 75 6e 63 | 74 69 6f 6e 73 0a 2f 2f |ler func|tions.//|
|000027c0| 0a 0a 0a 46 53 63 72 6f | 6c 6c 42 61 72 43 6c 61 |...FScro|llBarCla|
|000027d0| 73 73 2e 70 72 6f 74 6f | 74 79 70 65 2e 73 65 74 |ss.proto|type.set|
|000027e0| 53 63 72 6f 6c 6c 54 61 | 72 67 65 74 20 3d 20 66 |ScrollTa|rget = f|
|000027f0| 75 6e 63 74 69 6f 6e 28 | 74 46 29 0a 7b 0a 09 69 |unction(|tF).{..i|
|00002800| 66 20 28 74 46 20 3d 3d | 20 75 6e 64 65 66 69 6e |f (tF ==| undefin|
|00002810| 65 64 29 20 7b 0a 09 09 | 74 68 69 73 2e 74 65 78 |ed) {...|this.tex|
|00002820| 74 46 69 65 6c 64 2e 72 | 65 6d 6f 76 65 4c 69 73 |tField.r|emoveLis|
|00002830| 74 65 6e 65 72 28 74 68 | 69 73 29 3b 0a 09 09 64 |tener(th|is);...d|
|00002840| 65 6c 65 74 65 20 74 68 | 69 73 2e 74 65 78 74 46 |elete th|is.textF|
|00002850| 69 65 6c 64 5b 20 28 74 | 68 69 73 2e 68 6f 72 69 |ield[ (t|his.hori|
|00002860| 7a 6f 6e 74 61 6c 29 20 | 3f 20 22 68 53 63 72 6f |zontal) |? "hScro|
|00002870| 6c 6c 65 72 22 20 3a 20 | 22 76 53 63 72 6f 6c 6c |ller" : |"vScroll|
|00002880| 65 72 22 20 5d 3b 20 0a | 09 09 69 66 20 28 21 28 |er" ]; .|..if (!(|
|00002890| 74 68 69 73 2e 74 65 78 | 74 46 69 65 6c 64 2e 68 |this.tex|tField.h|
|000028a0| 53 63 72 6f 6c 6c 65 72 | 3d 3d 75 6e 64 65 66 69 |Scroller|==undefi|
|000028b0| 6e 65 64 29 20 26 26 20 | 21 28 74 68 69 73 2e 74 |ned) && |!(this.t|
|000028c0| 65 78 74 46 69 65 6c 64 | 2e 76 53 63 72 6f 6c 6c |extField|.vScroll|
|000028d0| 65 72 3d 3d 75 6e 64 65 | 66 69 6e 65 64 29 29 20 |er==unde|fined)) |
|000028e0| 7b 0a 09 09 09 74 68 69 | 73 2e 74 65 78 74 46 69 |{....thi|s.textFi|
|000028f0| 65 6c 64 2e 75 6e 77 61 | 74 63 68 28 22 74 65 78 |eld.unwa|tch("tex|
|00002900| 74 22 29 3b 0a 09 09 09 | 74 68 69 73 2e 74 65 78 |t");....|this.tex|
|00002910| 74 46 69 65 6c 64 2e 75 | 6e 77 61 74 63 68 28 22 |tField.u|nwatch("|
|00002920| 68 74 6d 6c 74 65 78 74 | 22 29 3b 0a 09 09 7d 0a |htmltext|");...}.|
|00002930| 09 7d 0a 09 74 68 69 73 | 2e 74 65 78 74 46 69 65 |.}..this|.textFie|
|00002940| 6c 64 20 3d 20 75 6e 64 | 65 66 69 6e 65 64 3b 0a |ld = und|efined;.|
|00002950| 09 69 66 20 28 21 28 74 | 46 20 69 6e 73 74 61 6e |.if (!(t|F instan|
|00002960| 63 65 6f 66 20 54 65 78 | 74 46 69 65 6c 64 29 29 |ceof Tex|tField))|
|00002970| 20 72 65 74 75 72 6e 3b | 0a 09 74 68 69 73 2e 74 | return;|..this.t|
|00002980| 65 78 74 46 69 65 6c 64 | 20 3d 20 74 46 3b 0a 09 |extField| = tF;..|
|00002990| 74 68 69 73 2e 74 65 78 | 74 46 69 65 6c 64 5b 20 |this.tex|tField[ |
|000029a0| 28 74 68 69 73 2e 68 6f | 72 69 7a 6f 6e 74 61 6c |(this.ho|rizontal|
|000029b0| 29 20 3f 20 22 68 53 63 | 72 6f 6c 6c 65 72 22 20 |) ? "hSc|roller" |
|000029c0| 3a 20 22 76 53 63 72 6f | 6c 6c 65 72 22 20 5d 20 |: "vScro|ller" ] |
|000029d0| 3d 20 74 68 69 73 3b 20 | 0a 09 74 68 69 73 2e 6f |= this; |..this.o|
|000029e0| 6e 54 65 78 74 43 68 61 | 6e 67 65 64 28 29 3b 0a |nTextCha|nged();.|
|000029f0| 09 74 68 69 73 2e 6f 6e | 43 68 61 6e 67 65 64 20 |.this.on|Changed |
|00002a00| 3d 20 66 75 6e 63 74 69 | 6f 6e 28 29 0a 09 7b 0a |= functi|on()..{.|
|00002a10| 09 09 74 68 69 73 2e 6f | 6e 54 65 78 74 43 68 61 |..this.o|nTextCha|
|00002a20| 6e 67 65 64 28 29 3b 0a | 09 7d 0a 09 74 68 69 73 |nged();.|.}..this|
|00002a30| 2e 6f 6e 53 63 72 6f 6c | 6c 65 72 20 3d 20 66 75 |.onScrol|ler = fu|
|00002a40| 6e 63 74 69 6f 6e 28 29 | 0a 09 7b 0a 09 09 69 66 |nction()|..{...if|
|00002a50| 20 28 21 74 68 69 73 2e | 69 73 53 63 72 6f 6c 6c | (!this.|isScroll|
|00002a60| 69 6e 67 29 20 7b 0a 09 | 09 09 69 66 20 28 21 74 |ing) {..|..if (!t|
|00002a70| 68 69 73 2e 68 6f 72 69 | 7a 6f 6e 74 61 6c 29 20 |his.hori|zontal) |
|00002a80| 7b 0a 09 09 09 09 74 68 | 69 73 2e 73 65 74 53 63 |{.....th|is.setSc|
|00002a90| 72 6f 6c 6c 50 6f 73 69 | 74 69 6f 6e 28 74 68 69 |rollPosi|tion(thi|
|00002aa0| 73 2e 74 65 78 74 46 69 | 65 6c 64 2e 73 63 72 6f |s.textFi|eld.scro|
|00002ab0| 6c 6c 29 3b 0a 09 09 09 | 7d 20 65 6c 73 65 20 7b |ll);....|} else {|
|00002ac0| 20 0a 09 09 09 09 74 68 | 69 73 2e 73 65 74 53 63 | .....th|is.setSc|
|00002ad0| 72 6f 6c 6c 50 6f 73 69 | 74 69 6f 6e 28 74 68 69 |rollPosi|tion(thi|
|00002ae0| 73 2e 74 65 78 74 46 69 | 65 6c 64 2e 68 73 63 72 |s.textFi|eld.hscr|
|00002af0| 6f 6c 6c 29 3b 0a 09 09 | 09 7d 0a 09 09 7d 0a 09 |oll);...|.}...}..|
|00002b00| 7d 0a 09 74 68 69 73 2e | 74 65 78 74 46 69 65 6c |}..this.|textFiel|
|00002b10| 64 2e 61 64 64 4c 69 73 | 74 65 6e 65 72 28 74 68 |d.addLis|tener(th|
|00002b20| 69 73 29 3b 0a 09 74 68 | 69 73 2e 74 65 78 74 46 |is);..th|is.textF|
|00002b30| 69 65 6c 64 2e 77 61 74 | 63 68 28 22 74 65 78 74 |ield.wat|ch("text|
|00002b40| 22 2c 20 74 68 69 73 2e | 63 61 6c 6c 62 61 63 6b |", this.|callback|
|00002b50| 29 3b 0a 09 74 68 69 73 | 2e 74 65 78 74 46 69 65 |);..this|.textFie|
|00002b60| 6c 64 2e 77 61 74 63 68 | 28 22 68 74 6d 6c 54 65 |ld.watch|("htmlTe|
|00002b70| 78 74 22 2c 20 74 68 69 | 73 2e 63 61 6c 6c 62 61 |xt", thi|s.callba|
|00002b80| 63 6b 29 3b 0a 7d 0a 0a | 46 53 63 72 6f 6c 6c 42 |ck);.}..|FScrollB|
|00002b90| 61 72 43 6c 61 73 73 2e | 70 72 6f 74 6f 74 79 70 |arClass.|prototyp|
|00002ba0| 65 2e 63 61 6c 6c 62 61 | 63 6b 20 3d 20 66 75 6e |e.callba|ck = fun|
|00002bb0| 63 74 69 6f 6e 28 70 72 | 6f 70 2c 20 6f 6c 64 56 |ction(pr|op, oldV|
|00002bc0| 61 6c 2c 20 6e 65 77 56 | 61 6c 29 0a 7b 0a 09 63 |al, newV|al).{..c|
|00002bd0| 6c 65 61 72 49 6e 74 65 | 72 76 61 6c 28 74 68 69 |learInte|rval(thi|
|00002be0| 73 2e 68 53 63 72 6f 6c | 6c 65 72 2e 73 79 6e 63 |s.hScrol|ler.sync|
|00002bf0| 68 53 63 72 6f 6c 6c 29 | 3b 0a 09 63 6c 65 61 72 |hScroll)|;..clear|
|00002c00| 49 6e 74 65 72 76 61 6c | 28 74 68 69 73 2e 76 53 |Interval|(this.vS|
|00002c10| 63 72 6f 6c 6c 65 72 2e | 73 79 6e 63 68 53 63 72 |croller.|synchScr|
|00002c20| 6f 6c 6c 29 3b 0a 09 74 | 68 69 73 2e 68 53 63 72 |oll);..t|his.hScr|
|00002c30| 6f 6c 6c 65 72 2e 73 79 | 6e 63 68 53 63 72 6f 6c |oller.sy|nchScrol|
|00002c40| 6c 20 3d 20 73 65 74 49 | 6e 74 65 72 76 61 6c 28 |l = setI|nterval(|
|00002c50| 74 68 69 73 2e 68 53 63 | 72 6f 6c 6c 65 72 2c 20 |this.hSc|roller, |
|00002c60| 22 6f 6e 54 65 78 74 43 | 68 61 6e 67 65 64 22 2c |"onTextC|hanged",|
|00002c70| 20 35 30 29 3b 0a 09 74 | 68 69 73 2e 76 53 63 72 | 50);..t|his.vScr|
|00002c80| 6f 6c 6c 65 72 2e 73 79 | 6e 63 68 53 63 72 6f 6c |oller.sy|nchScrol|
|00002c90| 6c 20 3d 20 73 65 74 49 | 6e 74 65 72 76 61 6c 28 |l = setI|nterval(|
|00002ca0| 74 68 69 73 2e 76 53 63 | 72 6f 6c 6c 65 72 2c 20 |this.vSc|roller, |
|00002cb0| 22 6f 6e 54 65 78 74 43 | 68 61 6e 67 65 64 22 2c |"onTextC|hanged",|
|00002cc0| 20 35 30 29 3b 0a 09 72 | 65 74 75 72 6e 20 6e 65 | 50);..r|eturn ne|
|00002cd0| 77 56 61 6c 3b 0a 7d 0a | 0a 0a 46 53 63 72 6f 6c |wVal;.}.|..FScrol|
|00002ce0| 6c 42 61 72 43 6c 61 73 | 73 2e 70 72 6f 74 6f 74 |lBarClas|s.protot|
|00002cf0| 79 70 65 2e 6f 6e 54 65 | 78 74 43 68 61 6e 67 65 |ype.onTe|xtChange|
|00002d00| 64 20 3d 20 66 75 6e 63 | 74 69 6f 6e 28 29 0a 7b |d = func|tion().{|
|00002d10| 0a 09 69 66 20 28 21 74 | 68 69 73 2e 65 6e 61 62 |..if (!t|his.enab|
|00002d20| 6c 65 20 7c 7c 20 74 68 | 69 73 2e 74 65 78 74 46 |le || th|is.textF|
|00002d30| 69 65 6c 64 3d 3d 75 6e | 64 65 66 69 6e 65 64 29 |ield==un|defined)|
|00002d40| 20 72 65 74 75 72 6e 3b | 0a 09 63 6c 65 61 72 49 | return;|..clearI|
|00002d50| 6e 74 65 72 76 61 6c 28 | 74 68 69 73 2e 73 79 6e |nterval(|this.syn|
|00002d60| 63 68 53 63 72 6f 6c 6c | 29 3b 0a 09 69 66 20 28 |chScroll|);..if (|
|00002d70| 74 68 69 73 2e 68 6f 72 | 69 7a 6f 6e 74 61 6c 29 |this.hor|izontal)|
|00002d80| 20 7b 0a 09 09 76 61 72 | 20 70 6f 73 20 3d 20 74 | {...var| pos = t|
|00002d90| 68 69 73 2e 74 65 78 74 | 46 69 65 6c 64 2e 68 73 |his.text|Field.hs|
|00002da0| 63 72 6f 6c 6c 3b 0a 09 | 09 74 68 69 73 2e 73 65 |croll;..|.this.se|
|00002db0| 74 53 63 72 6f 6c 6c 50 | 72 6f 70 65 72 74 69 65 |tScrollP|ropertie|
|00002dc0| 73 28 74 68 69 73 2e 74 | 65 78 74 46 69 65 6c 64 |s(this.t|extField|
|00002dd0| 2e 5f 77 69 64 74 68 2c | 20 30 2c 20 74 68 69 73 |._width,| 0, this|
|00002de0| 2e 74 65 78 74 46 69 65 | 6c 64 2e 6d 61 78 68 73 |.textFie|ld.maxhs|
|00002df0| 63 72 6f 6c 6c 29 3b 0a | 09 09 74 68 69 73 2e 73 |croll);.|..this.s|
|00002e00| 65 74 53 63 72 6f 6c 6c | 50 6f 73 69 74 69 6f 6e |etScroll|Position|
|00002e10| 28 4d 61 74 68 2e 6d 69 | 6e 28 70 6f 73 2c 20 74 |(Math.mi|n(pos, t|
|00002e20| 68 69 73 2e 74 65 78 74 | 46 69 65 6c 64 2e 6d 61 |his.text|Field.ma|
|00002e30| 78 68 73 63 72 6f 6c 6c | 29 29 3b 0a 09 7d 20 65 |xhscroll|));..} e|
|00002e40| 6c 73 65 20 7b 0a 09 09 | 76 61 72 20 70 6f 73 20 |lse {...|var pos |
|00002e50| 3d 20 74 68 69 73 2e 74 | 65 78 74 46 69 65 6c 64 |= this.t|extField|
|00002e60| 2e 73 63 72 6f 6c 6c 3b | 0a 09 09 76 61 72 20 70 |.scroll;|...var p|
|00002e70| 61 67 65 53 69 7a 65 20 | 3d 20 74 68 69 73 2e 74 |ageSize |= this.t|
|00002e80| 65 78 74 46 69 65 6c 64 | 2e 62 6f 74 74 6f 6d 53 |extField|.bottomS|
|00002e90| 63 72 6f 6c 6c 20 2d 20 | 74 68 69 73 2e 74 65 78 |croll - |this.tex|
|00002ea0| 74 46 69 65 6c 64 2e 73 | 63 72 6f 6c 6c 3b 0a 09 |tField.s|croll;..|
|00002eb0| 09 74 68 69 73 2e 73 65 | 74 53 63 72 6f 6c 6c 50 |.this.se|tScrollP|
|00002ec0| 72 6f 70 65 72 74 69 65 | 73 28 70 61 67 65 53 69 |ropertie|s(pageSi|
|00002ed0| 7a 65 2c 20 31 2c 20 74 | 68 69 73 2e 74 65 78 74 |ze, 1, t|his.text|
|00002ee0| 46 69 65 6c 64 2e 6d 61 | 78 73 63 72 6f 6c 6c 29 |Field.ma|xscroll)|
|00002ef0| 3b 0a 09 09 74 68 69 73 | 2e 73 65 74 53 63 72 6f |;...this|.setScro|
|00002f00| 6c 6c 50 6f 73 69 74 69 | 6f 6e 28 4d 61 74 68 2e |llPositi|on(Math.|
|00002f10| 6d 69 6e 28 70 6f 73 2c | 20 74 68 69 73 2e 74 65 |min(pos,| this.te|
|00002f20| 78 74 46 69 65 6c 64 2e | 6d 61 78 73 63 72 6f 6c |xtField.|maxscrol|
|00002f30| 6c 29 29 3b 0a 09 7d 0a | 7d 0a 0a 46 53 63 72 6f |l));..}.|}..FScro|
|00002f40| 6c 6c 42 61 72 43 6c 61 | 73 73 2e 70 72 6f 74 6f |llBarCla|ss.proto|
|00002f50| 74 79 70 65 2e 65 78 65 | 63 75 74 65 43 61 6c 6c |type.exe|cuteCall|
|00002f60| 42 61 63 6b 20 3d 20 66 | 75 6e 63 74 69 6f 6e 28 |Back = f|unction(|
|00002f70| 29 0a 7b 0a 09 69 66 20 | 28 74 68 69 73 2e 74 65 |).{..if |(this.te|
|00002f80| 78 74 46 69 65 6c 64 3d | 3d 75 6e 64 65 66 69 6e |xtField=|=undefin|
|00002f90| 65 64 29 20 7b 0a 09 09 | 73 75 70 65 72 2e 65 78 |ed) {...|super.ex|
|00002fa0| 65 63 75 74 65 43 61 6c | 6c 42 61 63 6b 28 29 3b |ecuteCal|lBack();|
|00002fb0| 0a 09 7d 20 65 6c 73 65 | 20 7b 0a 09 09 69 66 20 |..} else| {...if |
|00002fc0| 28 20 74 68 69 73 2e 68 | 6f 72 69 7a 6f 6e 74 61 |( this.h|orizonta|
|00002fd0| 6c 20 29 20 7b 0a 09 09 | 09 74 68 69 73 2e 74 65 |l ) {...|.this.te|
|00002fe0| 78 74 46 69 65 6c 64 2e | 68 73 63 72 6f 6c 6c 20 |xtField.|hscroll |
|00002ff0| 3d 20 74 68 69 73 2e 67 | 65 74 53 63 72 6f 6c 6c |= this.g|etScroll|
|00003000| 50 6f 73 69 74 69 6f 6e | 28 29 3b 0a 09 09 7d 20 |Position|();...} |
|00003010| 65 6c 73 65 20 7b 0a 09 | 09 09 74 68 69 73 2e 74 |else {..|..this.t|
|00003020| 65 78 74 46 69 65 6c 64 | 2e 73 63 72 6f 6c 6c 20 |extField|.scroll |
|00003030| 3d 20 74 68 69 73 2e 67 | 65 74 53 63 72 6f 6c 6c |= this.g|etScroll|
|00003040| 50 6f 73 69 74 69 6f 6e | 28 29 3b 0a 09 09 7d 0a |Position|();...}.|
|00003050| 09 7d 0a 7d 0a 0a 0a 0a | 0a 0a 4f 62 6a 65 63 74 |.}.}....|..Object|
|00003060| 2e 72 65 67 69 73 74 65 | 72 43 6c 61 73 73 28 22 |.registe|rClass("|
|00003070| 46 53 63 72 6f 6c 6c 42 | 61 72 53 79 6d 62 6f 6c |FScrollB|arSymbol|
|00003080| 22 2c 20 46 53 63 72 6f | 6c 6c 42 61 72 43 6c 61 |", FScro|llBarCla|
|00003090| 73 73 29 3b 0a 0a 23 65 | 6e 64 69 6e 69 74 63 6c |ss);..#e|ndinitcl|
|000030a0| 69 70 0a 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |ip......|........|
|000030b0| 00 00 00 00 00 00 00 00 | 01 00 00 00 00 00 00 00 |........|........|
|000030c0| 00 00 00 00 00 00 00 00 | 00 80 00 00 00 80 0a 0f |........|........|
|000030d0| 41 63 74 69 6f 6e 73 20 | 3a 20 43 6c 61 73 73 01 |Actions |: Class.|
|000030e0| 01 01 ff ff ff ff 4f ff | 4f ff 00 00 00 00 01 00 |......O.|O.......|
|000030f0| 00 00 00 00 00 01 00 00 | 00 00 00 00 80 00 00 00 |........|........|
|00003100| 80 03 05 00 00 00 00 00 | |........| |
+--------+-------------------------+-------------------------+--------+--------+